update 优化 页面跳转逻辑
This commit is contained in:
parent
e423d8afcf
commit
e0eed9c89a
@ -358,6 +358,7 @@ const handlePublish = async (row?: FlowDefinitionVo) => {
|
||||
loading.value = true;
|
||||
await publish(row.id).finally(() => (loading.value = false));
|
||||
processDefinitionDialog.visible = false;
|
||||
activeName.value = "0"
|
||||
await handleQuery();
|
||||
proxy?.$modal.msgSuccess('发布成功');
|
||||
};
|
||||
@ -404,6 +405,7 @@ const handlerImportDefinition = (data: UploadRequestOptions): XMLHttpRequest =>
|
||||
.then(() => {
|
||||
uploadDialog.visible = false;
|
||||
proxy?.$modal.msgSuccess('部署成功');
|
||||
activeName.value = "1"
|
||||
handleQuery();
|
||||
})
|
||||
.finally(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user