From 7d83f377e7f53e60b2486edbbcbe2c5b8bda25f8 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期一, 19 十二月 2022 14:35:51 +0800 Subject: [PATCH] test push --- main.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/main.js b/main.js index 29b062f..5a527eb 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,13 +14,14 @@ Vue.prototype.$reqGet = reqGet; Vue.prototype.$reqPost = reqPost; - +Vue.prototype.$store = store Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ + store, ...App }) app.$mount() -- Gitblit v1.9.1