chenrui  3 years ago
parent
commit
edead9886b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/systemManagement/EditSystem/index.vue

+ 1 - 1
src/views/systemManagement/EditSystem/index.vue

@@ -277,7 +277,7 @@ export default {
       let that = this;
       let ipArr = this.FormData.IpList.split(";");
       let isSave = true;
-      if (ipArr.length > 0) {
+      if (ipArr.length >= 2) {
         ipArr.forEach((item) => {
           if (this.isValidIP(item) == false) {
             this.$message.error("请输入正确IP段,并以;号隔开");