From 5ef7c1872e63c4e30b470c8307843c91148a356f Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期五, 25 六月 2021 18:55:50 +0800
Subject: [PATCH] 朔黄根据用户名添加权限控制

---
 src/pages/shuohuangMonitorAnalyze/index/main.ts |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/index/main.ts b/src/pages/shuohuangMonitorAnalyze/index/main.ts
index ddd090c..fdf3ab8 100644
--- a/src/pages/shuohuangMonitorAnalyze/index/main.ts
+++ b/src/pages/shuohuangMonitorAnalyze/index/main.ts
@@ -3,12 +3,19 @@
 import Mixin from "./mixins";
 import ElementUI from 'element-ui';
 import moment from 'moment';
-
+import echarts from 'echarts';
 import 'element-ui/lib/theme-chalk/index.css';
 import "@/assets/css/element-variables.scss";
+import VueAwesomeSwiper from "vue-awesome-swiper";
+import "swiper/dist/css/swiper.css";
+import {numberFormat} from '@/scripts/util';
+
 Vue.use(ElementUI);
+Vue.use(VueAwesomeSwiper as any);
 Vue.mixin(Mixin);
 Vue.prototype.$moment = moment;
+Vue.prototype.$echarts = echarts;
+Vue.prototype.$numberFormat = numberFormat;
 new Vue({
   el: '#app',
   render: h => h(App)

--
Gitblit v1.8.0