lsc 2 năm trước cách đây
mục cha
commit
e37c75a9f5
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      js/Office/Word/Word.js

+ 8 - 1
js/Office/Word/Word.js

@@ -637,7 +637,14 @@ U.MD.O.W.getWork = async function (cid, s, task, t, uid) {
                 // U.MD.O.W.fileinfo.UserDirectoryID = rid;
                 // });
                 // return res.value[0][0].text
-                resolve(res.value[0][0].text);
+                let a = {
+                    UserDirectoryExtendType: "uw", //默认导航模式
+                    UsOffice: res.value[0][0].text,
+                    UserDirectoryID: Guid.newGuid(),
+                    newfile: fileid ? false : true
+                }
+                resolve(a);
+                
                 // setTimeout(() => {
                 //     U.MD.O.W.wordDirectory();
                 // }, 100)