Skip to content

Commit a9b5a7f

Browse files
committed
fix: Simple设计器修改不生效
1 parent 98774ec commit a9b5a7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ defineOptions({
4040
name: 'SimpleProcessDesigner'
4141
})
4242
43-
const emits = defineEmits(['success']) // 保存成功事件
43+
const emits = defineEmits(['success', 'init-finished']) // 保存成功事件
4444
4545
const props = defineProps({
4646
modelId: {
@@ -263,6 +263,7 @@ onMounted(async () => {
263263
}
264264
} finally {
265265
loading.value = false
266+
emits('init-finished')
266267
}
267268
})
268269

0 commit comments

Comments
 (0)