Ver código fonte

Merge branch 'dev-frontend_0701' of liangyibo/CameraMachine into master

潘求垚 4 meses atrás
pai
commit
fbb2a8602e
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      frontend/src/composables/userCheck.ts

+ 4 - 1
frontend/src/composables/userCheck.ts

@@ -1,5 +1,8 @@
 
 import { ElMessageBox  } from 'element-plus';
+
+import  configInfo  from '@/stores/modules/config';
+const configInfoStore = configInfo();
 export function useCheckInfo() {
 
         if(localStorage.getItem('check') === 'false'){
@@ -11,7 +14,7 @@ export function useCheckInfo() {
             }
         })
         function ShowError(){
-
+            if(configInfoStore.appModel === 2)  return;
             ElMessageBox({
                 title:"连接出错!",
                 message:'设备连接出错,请在主窗口中重新连接设备后,在重新打开此窗口后进行操作',