mirror of https://github.com/bjdgyc/anylink.git
过滤文本框内的空行
This commit is contained in:
parent
3d03f6adb8
commit
7c040e2a0f
|
@ -697,6 +697,9 @@ export default {
|
|||
let arr = [];
|
||||
for (let i = 0; i < ipList.length; i++) {
|
||||
let item = ipList[i];
|
||||
if (item.trim() === "") {
|
||||
continue;
|
||||
}
|
||||
let ip = item.split(",");
|
||||
if (ip.length > 2) {
|
||||
ip[1] = ip.slice(1).join(",");
|
||||
|
|
Loading…
Reference in New Issue