优化创建应用

pull/50/head
smallbun 2023-09-16 23:31:34 +08:00
parent 6b1567cfb4
commit 7f983484aa
1 changed files with 2 additions and 2 deletions

View File

@ -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}`,
); );
}, },
}); });