import Vue from 'vue' import App from './App.vue' import './assets/common.less' import dataV from '@jiaminghi/data-view' Vue.config.productionTip = false 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) // }