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