Browse Source

fix:投屏

anxiaoxia 1 week ago
parent
commit
6bbf40dc1d
1 changed files with 1 additions and 0 deletions
  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',