fix: 统一详情页返回上级列表
- 修正管理端插件、工作流与系统详情页返回目标 - 修正用户中心执行记录与助手详情返回目标 - 保留审批页签及关联资源筛选上下文
This commit is contained in:
@@ -164,7 +164,15 @@ function handleClickHeader(index: number) {
|
||||
}
|
||||
|
||||
function back() {
|
||||
router.back();
|
||||
const pluginId = String(route.query.pluginId || '');
|
||||
if (pluginId) {
|
||||
void router.replace({
|
||||
path: '/ai/plugin/tools',
|
||||
query: { id: pluginId },
|
||||
});
|
||||
return;
|
||||
}
|
||||
void router.replace({ path: '/ai/plugin' });
|
||||
}
|
||||
|
||||
function updatePluginTool(index: number) {
|
||||
|
||||
@@ -53,6 +53,7 @@ const handleEdit = (row: any) => {
|
||||
query: {
|
||||
id: row.id,
|
||||
pageKey: '/ai/plugin',
|
||||
pluginId: props.pluginId,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user