cfort 2 жил өмнө
parent
commit
8faf71f08c

+ 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: {