From 673b81925c955494efa51c2052b00379702feca7 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期一, 24 五月 2021 17:35:06 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/vue-smart-ai --- src/pages/gb28181/index/main.ts | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/pages/gb28181/index/main.ts b/src/pages/gb28181/index/main.ts index 491ea9a..d48da00 100644 --- a/src/pages/gb28181/index/main.ts +++ b/src/pages/gb28181/index/main.ts @@ -1,11 +1,25 @@ 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