mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08: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;
|
if (!formEl) return;
|
||||||
formEl.validate(async (valid) => {
|
formEl.validate(async (valid) => {
|
||||||
if (!valid) return;
|
if (!valid) return;
|
||||||
|
if (dialogData.value.title === 'create') {
|
||||||
|
submit();
|
||||||
|
} else {
|
||||||
dialogVisible.value = true;
|
dialogVisible.value = true;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user