瀏覽代碼

fix:投屏

anxiaoxia 2 周之前
父節點
當前提交
6bbf40dc1d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/views/envmonitor/taiguv1/components/Screen/index.vue

+ 1 - 0
src/views/envmonitor/taiguv1/components/Screen/index.vue

@@ -85,6 +85,7 @@ watch(
 const deviceControl = useDeviceControl()
 
 const setScreenStatus = (type, value) => {
+    if (value == screenData.value.runStatus) return;
     if (type == 'isOpen') {
         store.dispatch('taiguv1/setScreenStatus', {
             id: 'all',