Jelajahi Sumber

增加文档预览

zmw 11 bulan lalu
induk
melakukan
0c061e7470
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      public/static/js/common/Feng.js

+ 1 - 1
public/static/js/common/Feng.js

@@ -588,7 +588,7 @@ var Feng = {
             }
         };
         document.title = title;
-        const docEditor = new DocsAPI.DocEditor("placeholder", config);
+        const docEditor = new window.DocsAPI.DocEditor("placeholder", config);
         //window.location.href = url;
     },
     showFile: function (url, id, title) {