From 34e6d3a803c50fc30c7cded69658562a437afaf5 Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123 <819527061@qq.com> Date: 星期四, 28 七月 2022 21:02:15 +0800 Subject: [PATCH] '日计划样式' --- main.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/main.js b/main.js index 29b062f..06880df 100644 --- a/main.js +++ b/main.js @@ -2,6 +2,7 @@ import Vue from 'vue' import uView from '@/uni_modules/uview-ui'; import '@/api/constant.js'; +import store from './store' uni.$u.config.unit = 'rpx' Vue.use(uView) @@ -13,6 +14,7 @@ Vue.prototype.$reqGet = reqGet; Vue.prototype.$reqPost = reqPost; +Vue.prototype.$store = store Vue.config.productionTip = false @@ -20,6 +22,7 @@ App.mpType = 'app' const app = new Vue({ + store, ...App }) app.$mount() -- Gitblit v1.9.1