Mr. Robot 2 сар өмнө
parent
commit
0839e88854

+ 7 - 0
src/views/FileManagement/database.vue

@@ -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({