main.js
@@ -2,14 +2,15 @@ // #ifndef VUE3 import Vue from 'vue' // Vue.prototype.baseUrl = "http://localhost:8081/acs" Vue.prototype.baseIP = '192.168.4.138:8082' const baseIP = Vue.prototype.baseIP Vue.prototype.baseUrl = 'http://' + baseIP + '/xgmwms' import uView from './uni_modules/uview-ui/index.js' import store from './store' import './uni.promisify.adaptor' Vue.config.productionTip = false Vue.prototype.$store = store App.mpType = 'app' const app = new Vue({ ...App store, ...App }) app.$mount() // #endif