mirror of https://gitee.com/topiam/eiam
⚡ 优化创建应用
parent
6b1567cfb4
commit
7f983484aa
|
@ -64,7 +64,7 @@ const CreateApp = (props: {
|
||||||
|
|
||||||
useAsyncEffect(async () => {
|
useAsyncEffect(async () => {
|
||||||
if (open) {
|
if (open) {
|
||||||
form?.setFieldsValue({ name: `${name} 应用` });
|
form?.setFieldsValue({ name: `${name}` });
|
||||||
}
|
}
|
||||||
}, [open]);
|
}, [open]);
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ const CreateApp = (props: {
|
||||||
onOk: () => {
|
onOk: () => {
|
||||||
successModal.destroy();
|
successModal.destroy();
|
||||||
history.push(
|
history.push(
|
||||||
`/app/config?id=${result.id}&name=${values.name}&protocol=${protocol}`,
|
`/app/detail?id=${result.id}&name=${values.name}&protocol=${protocol}`,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue