将 BPMNJS 全局引入,改成局部引入

This commit is contained in:
YunaiV
2023-04-15 17:28:33 +08:00
committed by shizhong
parent 8542bd8025
commit f9c2850d6b
7 changed files with 17 additions and 49 deletions

View File

@ -305,7 +305,7 @@
<!-- 流程模型图的预览 -->
<XModal title="流程图" v-model="showBpmnOpen" width="80%" height="90%">
<my-process-viewer
<MyProcessViewer
key="designer"
v-model="bpmnXML"
:value="bpmnXML"
@ -319,6 +319,7 @@
<script setup lang="ts">
// 全局相关的 import
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
import { FormInstance, UploadInstance } from 'element-plus'
// 业务相关的 import