shawenguan 2 年之前
父節點
當前提交
c5c6c617a9
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Scripts/jhsh/jhshHelper.js

+ 3 - 2
Scripts/jhsh/jhshHelper.js

@@ -69,13 +69,14 @@ if (!lk.isExecComm) {
     }
 }
 
-function waitTest(){
+async function waitTest(){
     // return new Promise(resolve => {
     //     // setTimeout(resolve, 3000);
     //     lk.log("waitTest");
     //     resolve();
     // });
-    return new Promise((resolve) => setTimeout(resolve, 3000))
+    // return new Promise((resolve) => setTimeout(resolve, 3000))
+    lk.log(setTimeout);
 }
 
 function checkHandleRequest() {