main.js
@@ -2,12 +2,15 @@ // #ifndef VUE3 import Vue from 'vue' Vue.prototype.baseHttp = 'http://' Vue.prototype.basePort = '8080' 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