Commit a9b5a7f0 by LesanOuO

fix: Simple设计器修改不生效

parent 98774ecc
...@@ -40,7 +40,7 @@ defineOptions({ ...@@ -40,7 +40,7 @@ defineOptions({
name: 'SimpleProcessDesigner' name: 'SimpleProcessDesigner'
}) })
const emits = defineEmits(['success']) // 保存成功事件 const emits = defineEmits(['success', 'init-finished']) // 保存成功事件
const props = defineProps({ const props = defineProps({
modelId: { modelId: {
...@@ -263,6 +263,7 @@ onMounted(async () => { ...@@ -263,6 +263,7 @@ onMounted(async () => {
} }
} finally { } finally {
loading.value = false loading.value = false
emits('init-finished')
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment