Browse Source

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

潘求垚 5 months ago
parent
commit
fbb2a8602e
1 changed files with 4 additions and 1 deletions
  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 { ElMessageBox  } from 'element-plus';
+
+import  configInfo  from '@/stores/modules/config';
+const configInfoStore = configInfo();
 export function useCheckInfo() {
 export function useCheckInfo() {
 
 
         if(localStorage.getItem('check') === 'false'){
         if(localStorage.getItem('check') === 'false'){
@@ -11,7 +14,7 @@ export function useCheckInfo() {
             }
             }
         })
         })
         function ShowError(){
         function ShowError(){
-
+            if(configInfoStore.appModel === 2)  return;
             ElMessageBox({
             ElMessageBox({
                 title:"连接出错!",
                 title:"连接出错!",
                 message:'设备连接出错,请在主窗口中重新连接设备后,在重新打开此窗口后进行操作',
                 message:'设备连接出错,请在主窗口中重新连接设备后,在重新打开此窗口后进行操作',