From 4f30734588eb34ea2d7c27856f72ce40da8ab365 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期六, 28 二月 2026 12:01:10 +0800
Subject: [PATCH] 小程序 接口开发
---
mini-program/main.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/mini-program/main.js b/mini-program/main.js
index 49ff20f..0e71901 100644
--- a/mini-program/main.js
+++ b/mini-program/main.js
@@ -8,7 +8,8 @@
App.mpType = 'app'
Vue.prototype.$store = store;
-Vue.prototype.$baseUrl = 'http://192.168.1.85:12015/'
+Vue.prototype.$baseUrl = 'http://192.168.1.17:12015/'
+// Vue.prototype.$baseUrl = 'https://test.doumee.cn/dmmall_web_api/'
Vue.prototype.$onLaunched = new Promise(resolve => {
Vue.prototype.$isResolve = resolve
@@ -17,7 +18,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