From 7c1e4502fe4431cc43755afc42935bbadf1464cd Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 01 八月 2023 11:01:28 +0800
Subject: [PATCH] #

---
 src/main.js |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/main.js b/src/main.js
index b3a5a73..2e30217 100644
--- a/src/main.js
+++ b/src/main.js
@@ -7,10 +7,29 @@
 
 Vue.config.productionTip = false
 
-Vue.prototype.baseUrl = 'http://localhost:8080/';
+Vue.prototype.baseUrl = 'http://192.168.4.151:9529/';
 
 Vue.use(dataV)
 
 new Vue({
   render: h => h(App)
 }).$mount('#app')
+
+
+// import axios from 'axios'
+
+// methods: {
+//   httpData() {
+//     const getApiData = async () => {
+//       return await axios.get(this.baseUrl + "1test", { params: {} })
+//     }
+//     getApiData().then(result => {
+//       console.log(result.data);
+//     })
+//   }
+// },
+// mounted() {
+//   const { httpData } = this
+//   httpData()
+//   setInterval(this.httpData, 30000)
+// }
\ No newline at end of file

--
Gitblit v1.9.1