fix: 修复自建插件保存丢失部署策略的bug

This commit is contained in:
xiaojunnuo
2025-05-16 23:50:18 +08:00
parent aebb07c5cc
commit 863e74dd2e
7 changed files with 25 additions and 15 deletions
@@ -204,12 +204,14 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
},
form: {
onSuccess(opts: any) {
router.push({
name: "SysPluginEdit",
query: {
id: opts.res.id,
},
});
if (opts.res?.id) {
router.push({
name: "SysPluginEdit",
query: {
id: opts.res.id,
},
});
}
},
},
columns: {