#
luxiaotao1123
2023-08-01 7c1e4502fe4431cc43755afc42935bbadf1464cd
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)
// }