|
@@ -122,6 +122,7 @@ const onSubmit = () => {
|
|
|
hash: '',
|
|
|
})
|
|
|
.then(() => {
|
|
|
+ DictionaryStore.initWorkflows()
|
|
|
ElMessage.success(`${titleCpt.value}成功!`)
|
|
|
emit('update:show', false)
|
|
|
emit('refresh')
|
|
@@ -136,6 +137,7 @@ const onSubmit = () => {
|
|
|
} else if (props.transfer.mode === 'edit') {
|
|
|
workflowMetaEdit(state.form.id, state.form)
|
|
|
.then(() => {
|
|
|
+ DictionaryStore.initWorkflows()
|
|
|
ElMessage.success(`${titleCpt.value}成功!`)
|
|
|
emit('update:show', false)
|
|
|
emit('refresh')
|