We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98774ec commit a9b5a7fCopy full SHA for a9b5a7f
src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue
@@ -40,7 +40,7 @@ defineOptions({
40
name: 'SimpleProcessDesigner'
41
})
42
43
-const emits = defineEmits(['success']) // 保存成功事件
+const emits = defineEmits(['success', 'init-finished']) // 保存成功事件
44
45
const props = defineProps({
46
modelId: {
@@ -263,6 +263,7 @@ onMounted(async () => {
263
}
264
} finally {
265
loading.value = false
266
+ emits('init-finished')
267
268
269
0 commit comments