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 | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/minipro_standard/main.js b/minipro_standard/main.js
index ff8e5d7..c988b0c 100644
--- a/minipro_standard/main.js
+++ b/minipro_standard/main.js
@@ -1,33 +1,30 @@
import Vue from 'vue'
import App from './App'
import mixin from './common/mixin'
-import 'vant/lib/index.css'
-// 寮曞叆鍏ㄥ眬uView
+// 寮曞叆鍏ㄥ眬uView
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
-import Vant from 'vant';
-Vue.use(Vant);
-// vuex
+// 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灏佽
+// #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,
+ ...App
+})
+require('./util/request/index')(app)
// 鑾峰彇寰呭姙鏁伴噺
-// store.dispatch('getUpcomingNum')
-
+// store.dispatch('getUpcomingNum')
+
app.$mount()
\ No newline at end of file
--
Gitblit v1.9.3