From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 十一月 2023 15:47:13 +0800
Subject: [PATCH] bug

---
 minipro_standard/main.js |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/minipro_standard/main.js b/minipro_standard/main.js
new file mode 100644
index 0000000..c988b0c
--- /dev/null
+++ b/minipro_standard/main.js
@@ -0,0 +1,30 @@
+import Vue from 'vue'
+import App from './App'
+import mixin from './common/mixin'
+
+// 寮曞叆鍏ㄥ眬uView
+import uView from '@/uni_modules/uview-ui'
+Vue.use(uView)
+// vuex
+import store from './store'
+Vue.prototype.$store = store
+store.dispatch('getHeight')
+Vue.config.productionTip = false
+App.mpType = 'app'
+// console.log(uni.$u);
+// #ifdef MP
+// 寮曞叆uView瀵瑰皬绋嬪簭鍒嗕韩鐨刴ixin灏佽
+const mpShare = require('@/uni_modules/uview-ui/libs/mixin/mpShare.js')
+Vue.mixin(mpShare)
+// #endif
+Vue.mixin(mixin)
+// 寮曞叆璇锋眰灏佽
+const app = new Vue({
+	store,
+  ...App
+})
+require('./util/request/index')(app)
+// 鑾峰彇寰呭姙鏁伴噺
+// store.dispatch('getUpcomingNum')
+
+app.$mount()
\ No newline at end of file

--
Gitblit v1.9.3