From ae2d855c89ca722ac7309fdf1aa6ceed370e3b95 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期一, 11 十月 2021 20:22:30 +0800 Subject: [PATCH] 监控ui --- src/pages/gb28181/index/main.ts | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/pages/gb28181/index/main.ts b/src/pages/gb28181/index/main.ts index 80f18a4..d48da00 100644 --- a/src/pages/gb28181/index/main.ts +++ b/src/pages/gb28181/index/main.ts @@ -1,10 +1,25 @@ -import Vue from 'vue' -import ElementUI from 'element-ui' -import 'element-ui/lib/theme-chalk/index.css' -import App from './App.vue' +import Vue from 'vue'; +import App from './App.vue'; +import TreeDataPool from "@/Pool/TreeData"; + +import ElementUI from 'element-ui'; +import 'element-ui/lib/theme-chalk/index.css'; +import "@/assets/css/element-variables.scss"; Vue.use(ElementUI) +const onlyTreeDataPool = new TreeDataPool + +const mixin = { + data() { + return { + TreeDataPool: onlyTreeDataPool + }; + }, +}; + +Vue.mixin(mixin); + new Vue({ el: '#app', render: h => h(App) -- Gitblit v1.8.0