From 871528841a18ebdf41c1d0996311e234f53d2218 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 31 七月 2023 14:00:24 +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