lsc 2 년 전
부모
커밋
4e6865416f
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      js/Office/Word/Word.js

+ 4 - 0
js/Office/Word/Word.js

@@ -656,6 +656,8 @@ U.MD.O.W.getWork = async function (cid, s, task, t, uid) {
                 // setTimeout(() => {
                 //     U.MD.O.W.wordDirectory();
                 // }, 100)
+            }else{
+                resolve(U.MD.O.W.getfile())
             }
         }, [], { "type": "GET", "withCredentials": true });
     });
@@ -673,6 +675,8 @@ U.MD.O.W.getWorkS = async function (cid, s, task, t, uid) {
                     newfile: true
                 }
                 resolve(a);
+            }else{
+                resolve(U.MD.O.W.getfile())
             }
         }, [], { "type": "GET", "withCredentials": true });
     });