cyy 2 kuukautta sitten
vanhempi
sitoutus
aede92f59b

+ 10 - 1
src/business/platform/file/file-preview/index.vue

@@ -1,3 +1,11 @@
+<!--
+ * @Author: cyy szjbdcyy@126.com
+ * @Date: 2023-08-30 17:41:37
+ * @LastEditors: cyy szjbdcyy@126.com
+ * @LastEditTime: 2026-01-21 16:16:14
+ * @FilePath: \lh_firm_former\src\business\platform\file\file-preview\index.vue
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+-->
 <template>
  <ibps-file-viewer
     :visible.sync="dialogVisible"
@@ -48,7 +56,8 @@ export default {
           this.title = this.file.fileName
           this.fileId = this.file.id
           this.fileExt = this.file.ext
-          this.url = previewFile(this.file.id) || ''
+          console.log("file-preview:this.file", this.file)
+.          this.url = previewFile(this.file.id) || ''
         }
       },
       immediate: true

+ 1 - 0
src/components/ibps-file-viewer/index.vue

@@ -184,6 +184,7 @@ export default {
             this.getFile()
         },
         getFile () {
+            consolr.log('ibps_file-viewer:this.optionFile', this.optionFile)
             this.option.url = this.optionFile.url // 下载地址
             this.option.editUrl = this.optionFile.editUrl // 回调接口url
             this.option.title = this.optionFile.title // 文件名称