Browse Source

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

pull/6943/head
ssongliu 3 weeks ago committed by GitHub
parent
commit
f7b4c8cd28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      frontend/src/views/container/container/operate/index.vue

6
frontend/src/views/container/container/operate/index.vue

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