mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-09 08:52:41 +08:00
【代码优化】BPM:去除 bpm 冗余的路由
This commit is contained in:
parent
5259db9eaa
commit
2a73b9c4fc
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { BpmModelType } from '@/utils/constants'
|
import { BpmModelType } from '@/utils/constants'
|
||||||
import BpmModelEditor from '../editor/index.vue'
|
import BpmModelEditor from './editor/index.vue'
|
||||||
import SimpleModelDesign from '../../simple/SimpleModelDesign.vue'
|
import SimpleModelDesign from '../../simple/SimpleModelDesign.vue'
|
||||||
|
|
||||||
// 创建本地数据副本
|
// 创建本地数据副本
|
||||||
|
@ -39,7 +39,7 @@ import * as FormApi from '@/api/bpm/form'
|
|||||||
|
|
||||||
defineOptions({ name: 'BpmModelEditor' })
|
defineOptions({ name: 'BpmModelEditor' })
|
||||||
|
|
||||||
const props = defineProps<{
|
defineProps<{
|
||||||
modelId?: string
|
modelId?: string
|
||||||
modelKey: string
|
modelKey: string
|
||||||
modelName: string
|
modelName: string
|
||||||
@ -75,7 +75,7 @@ const model = ref<ModelApi.ModelVO>() // 流程模型的信息
|
|||||||
|
|
||||||
/** 初始化 modeler */
|
/** 初始化 modeler */
|
||||||
const initModeler = async (item: any) => {
|
const initModeler = async (item: any) => {
|
||||||
//先初始化模型数据
|
// 先初始化模型数据
|
||||||
model.value = modelData.value
|
model.value = modelData.value
|
||||||
modeler.value = item
|
modeler.value = item
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user