mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-18 06:40:25 +08:00
IP名单批量导入IP支持CIDR
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
Tea.context(function () {
|
||||
this.success = function (resp) {
|
||||
teaweb.success("成功导入" + resp.data.count + "个IP", function () {
|
||||
let message = "成功导入" + resp.data.count + "个IP"
|
||||
if (resp.data.countIgnore > 0) {
|
||||
message += ",并忽略" + resp.data.countIgnore + "个格式错误的IP"
|
||||
}
|
||||
teaweb.success(message, function () {
|
||||
teaweb.reload()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user