Ver código fonte

修改pdf预览方式

cfort 2 anos atrás
pai
commit
8faf71f08c
1 arquivos alterados com 6 adições e 5 exclusões
  1. 6 5
      src/business/platform/file/attachment/selector.vue

+ 6 - 5
src/business/platform/file/attachment/selector.vue

@@ -197,11 +197,12 @@
                 }
             },
             pdfPreviewType() {
-                const t = specialField.some(i => this.elFormItem.label && this.elFormItem.label.includes(i))
-                if (this.elFormItem.label && t) {
-                    return 'PDFH5'
-                }
-                return 'ONLYOFFICE'
+                // const t = specialField.some(i => this.elFormItem.label && this.elFormItem.label.includes(i))
+                // if (this.elFormItem.label && t) {
+                //     return 'PDFH5'
+                // }
+                // return 'ONLYOFFICE'
+                return 'PDFH5'
             }
         },
         watch: {