diff --git a/src/components/preview/OfficePreview.vue b/src/components/preview/OfficePreview.vue index f1921e5..bbaf510 100644 --- a/src/components/preview/OfficePreview.vue +++ b/src/components/preview/OfficePreview.vue @@ -153,7 +153,7 @@ export default { this.saved = true this.readyShow = true this.fileReday = true - if (['drawio', 'office'].include(this.fileType)) { + if (['drawio', 'office'].includes(this.fileType)) { this.previewDocument.style.zIndex = 9999 this.$nextTick(() => { let that = this