mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-24 02:10:28 +08:00
优化代码/自动去除域名中的http://和https://等,防止误填
This commit is contained in:
@@ -44,6 +44,9 @@ Vue.component("plan-bandwidth-ranges", {
|
||||
return -1
|
||||
}
|
||||
if (v1.minMB == v2.minMB) {
|
||||
if (v2.maxMB == 0 || v1.maxMB < v2.maxMB) {
|
||||
return -1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user