소스 검색

增加文档预览

zmw 11 달 전
부모
커밋
0c061e7470
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {