From b032cc75b1c316ebe5a38b6b09bfc027c3864d00 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期二, 17 三月 2026 14:40:41 +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