From 1f0bab534764203dcb24624ed42f18cba7ac96b9 Mon Sep 17 00:00:00 2001 From: jmal Date: Tue, 16 Aug 2022 23:34:46 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E5=9B=BE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/preview/OfficePreview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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