src/components/Preview/filePreview.vue @@ -96,6 +96,7 @@ if (state) { this.imgUrl = this.fileUrl.replaceAll('word', 'img') } console.log(2222, this.imgUrl) return state; }, isPdf() {