@@ -277,6 +277,13 @@ const submitData = async () => {
});
}
} else {
+ if (!!!form.value.shipTag) {
+ ElMessage({
+ message: "数据库名称不能为空",
+ type: "warning",
+ });
+ return;
+ }
// @ts-ignore
proxy.$loading.start();
const res = (await shipsCreate({