|
@@ -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段,并以;号隔开");
|