cyy 3 ماه پیش
والد
کامیت
2b6576a139
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/business/platform/file/attachment/editFile/editor.vue

+ 1 - 2
src/business/platform/file/attachment/editFile/editor.vue

@@ -39,7 +39,7 @@ export default {
     },
     created(){
         this.option.url = INTRANET_URL() + SYSTEM_URL() + '/file/download?attachmentId=' + this.option.url.split('/file/download?attachmentId=')[1]
-        this.option.editUrl = INTRANET_URL() + SYSTEM_URL() + '/file/editCallback?fileName=' + this.option.url.split('/file/editCallback?fileName=')[1]
+        this.option.editUrl = INTRANET_URL() + SYSTEM_URL() + '/file/editCallback?fileName=' + this.option.editUrl.split('/file/editCallback?fileName=')[1]
     },
     mounted () {
         // 调用初始化方法 ,渲染wps
@@ -47,7 +47,6 @@ export default {
             this.setEditor(this.option)
         }
         if (this.option.mode === 'edit') {
-            console.log(this.option,'this.optionthis.option')
             // 编辑模式下轮询获取文件id
             this.timer = setInterval(() => {
                 if (this.configKey) {