瀏覽代碼

工位ip判断

qinhb 9 月之前
父節點
當前提交
3b93310851
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/base/modeling/station/index.vue

+ 2 - 2
src/views/base/modeling/station/index.vue

@@ -103,7 +103,7 @@ function rowSave(form, done, loading) {
     loading();
     return false;
   }
-  for (const part of parts) {
+  /*for (const part of parts) {
     if (isNaN(part) || part < 0 || part > 255) {
       ElMessage({
         message: "工位ip格式不正确",
@@ -112,7 +112,7 @@ function rowSave(form, done, loading) {
       loading();
       return false;
     }
-  }
+  }*/
   createRow(form, done, loading);
 }
 const crudRef = ref(null); //crudRef.value 获取avue-crud对象