人生啊人生 2 月之前
父节点
当前提交
974a9da1a6
共有 1 个文件被更改,包括 17 次插入2 次删除
  1. 17 2
      src/components/ThreeWorldEventQingXiCheAndQv/QingXiCheAndQvMain.vue

+ 17 - 2
src/components/ThreeWorldEventQingXiCheAndQv/QingXiCheAndQvMain.vue

@@ -172,13 +172,28 @@ const menuEvent = (name) => {
 
 }
 
+watch(
+
+    () => CommonVal().loadSuccess,
+    (newVal, oldVal) => {
+        
+        if (CommonVal().loadSuccess == true) {
+
+            setTimeout(function() {
+                QingXiCheEventInit();
+            }, 2000);
+            
+        }
+
+    }
+);
 
 /**
  * 初始化 清洗车 的逻辑
  */
 const QingXiCheEventInit = () => {
     ComReturnCallbackExit();
-
+    console.log("初始化 清洗车 的逻辑 ===>");
 
 }
 
@@ -186,7 +201,7 @@ const QingXiCheEventInit = () => {
  * 初始化 QV检测 的逻辑
  */
 const QvEventInit = () => {
-    
+    ComReturnCallbackExit();
 }