Skip to content

Commit 2a73b9c

Browse files
committed
【代码优化】BPM:去除 bpm 冗余的路由
1 parent 5259db9 commit 2a73b9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/views/bpm/model/form/ProcessDesign.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<script lang="ts" setup>
2727
import { BpmModelType } from '@/utils/constants'
28-
import BpmModelEditor from '../editor/index.vue'
28+
import BpmModelEditor from './editor/index.vue'
2929
import SimpleModelDesign from '../../simple/SimpleModelDesign.vue'
3030
3131
// 创建本地数据副本

src/views/bpm/model/editor/index.vue renamed to src/views/bpm/model/form/editor/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import * as FormApi from '@/api/bpm/form'
3939
4040
defineOptions({ name: 'BpmModelEditor' })
4141
42-
const props = defineProps<{
42+
defineProps<{
4343
modelId?: string
4444
modelKey: string
4545
modelName: string
@@ -75,7 +75,7 @@ const model = ref<ModelApi.ModelVO>() // 流程模型的信息
7575
7676
/** 初始化 modeler */
7777
const initModeler = async (item: any) => {
78-
//先初始化模型数据
78+
// 先初始化模型数据
7979
model.value = modelData.value
8080
modeler.value = item
8181
}

0 commit comments

Comments
 (0)