From 910f2ef56d0d49a4ce24b2f33860dce4d739b1b4 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期三, 03 八月 2022 16:58:06 +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