mirror of
https://github.com/1Panel-dev/1Panel
synced 2024-11-21 23:29:44 +00:00
fix: 优化容器创建提示信息 (#6925)
This commit is contained in:
parent
24c063b106
commit
f7b4c8cd28
@ -483,7 +483,11 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
|
||||
if (!formEl) return;
|
||||
formEl.validate(async (valid) => {
|
||||
if (!valid) return;
|
||||
dialogVisible.value = true;
|
||||
if (dialogData.value.title === 'create') {
|
||||
submit();
|
||||
} else {
|
||||
dialogVisible.value = true;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user