mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-23 06:15:01 +08:00
fix: 优化容器创建提示信息 (#6925)
This commit is contained in:
parent
24c063b106
commit
f7b4c8cd28
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
dialogVisible.value = true;
|
if (dialogData.value.title === 'create') {
|
||||||
|
submit();
|
||||||
|
} else {
|
||||||
|
dialogVisible.value = true;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue