perf: 优化流程图组件

This commit is contained in:
jmal 2022-08-16 23:34:46 +08:00
parent 363d77bc24
commit 1f0bab5347

View File

@ -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