From 01d453a6d5a751a78eab5f56ad0f35a0a2ebf281 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 17 一月 2024 16:01:48 +0800 Subject: [PATCH] # --- main.js | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 5268395..9a38f4b 100644 --- a/main.js +++ b/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 -- Gitblit v1.9.1