From cdca21c0c12fa79ad4e85321d0f0960c0c4c3f33 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 06 三月 2026 10:56:17 +0800
Subject: [PATCH] 优化
---
mini-program/main.js | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/mini-program/main.js b/mini-program/main.js
index f239899..74921e8 100644
--- a/mini-program/main.js
+++ b/mini-program/main.js
@@ -8,8 +8,14 @@
App.mpType = 'app'
Vue.prototype.$store = store;
-Vue.prototype.$baseUrl = 'http://192.168.1.37:12015/'
+
+Vue.prototype.$baseUrl = 'http://192.168.1.17:12015/'
+// Vue.prototype.$baseUrl = 'http://192.168.1.85:12015/'
+// Vue.prototype.$baseUrl = 'http://192.168.0.7/dmmall_web_api/'
+// Vue.prototype.$baseUrl = 'https://test.doumee.cn/dmmall_web_api/'
+// Vue.prototype.$baseUrl = 'http://xiaopiqiu2.natapp1.cc/'
+
Vue.prototype.$onLaunched = new Promise(resolve => {
Vue.prototype.$isResolve = resolve
})
@@ -17,7 +23,8 @@
Vue.use(uView);
store.dispatch('getHeight')
-
+import shareMixin from '@/utils/shareMixin'
+Vue.mixin(shareMixin)
const app = new Vue({
store,
...App
--
Gitblit v1.9.3