diff --git a/src/components/container.vue b/src/components/container.vue index 20fc2d4..36eeebe 100644 --- a/src/components/container.vue +++ b/src/components/container.vue @@ -19,6 +19,7 @@ height: 100%; background: rgba(0,0,0,0.5); z-index: 100; + pointer-events: all; } } diff --git a/src/view/home.vue b/src/view/home.vue index 0c09d0b..c7b7e75 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -185,7 +185,7 @@ {{$route.meta.title}} {{time}} - +
@@ -203,6 +203,7 @@ import region from './yuanmou' var route=inject("route") var {commit,getters}=inject('store') var msg=inject("msg") + var box=inject('box') var time=ref(new Date().format('yyyy-MM-dd hh:mm')) var timeOut=null @@ -244,6 +245,11 @@ import region from './yuanmou' } } } + function out(){ + box.confirm("确定退出大屏?",'提示').then(e=>{ + commit('data/clearToken') + }) + } onMounted(async ()=>{ refreshTime() interval=setInterval(()=>{