Browse Source

附件查看js文件

user5 4 years ago
parent
commit
cee7ab7a72
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/webapp/static/common/js/common.js

+ 2 - 0
src/main/webapp/static/common/js/common.js

@@ -156,6 +156,8 @@ function openPreview(url,flag){
         var url = 'https://view.xdocin.com/xdoc?_xdoc='+encodeURIComponent(url);
     }else if(flag == 2){
         var url = 'https://view.officeapps.live.com/op/view.aspx?src='+encodeURIComponent(url);
+    }else if(flag == 3){
+        var url = 'http://ow365.cn/?i=25001&furl='+encodeURIComponent(url);
     }else{
         $.ajax({
             type:"POST",