优化创建应用

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 () => {
if (open) {
form?.setFieldsValue({ name: `${name} 应用` });
form?.setFieldsValue({ name: `${name}` });
}
}, [open]);
@ -108,7 +108,7 @@ const CreateApp = (props: {
onOk: () => {
successModal.destroy();
history.push(
`/app/config?id=${result.id}&name=${values.name}&protocol=${protocol}`,
`/app/detail?id=${result.id}&name=${values.name}&protocol=${protocol}`,
);
},
});