fix: 优化容器创建提示信息 (#6925)

pull/6943/head
ssongliu 3 weeks ago committed by GitHub
parent 24c063b106
commit f7b4c8cd28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save