mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 22:30:28 +08:00
优化细节
This commit is contained in:
@@ -20,6 +20,24 @@ Vue.component("bandwidth-limit-config-box", {
|
||||
noticePageBody: ""
|
||||
}
|
||||
}
|
||||
if (config.dailySize == null) {
|
||||
config.dailySize = {
|
||||
count: -1,
|
||||
unit: "gb"
|
||||
}
|
||||
}
|
||||
if (config.monthlySize == null) {
|
||||
config.monthlySize = {
|
||||
count: -1,
|
||||
unit: "gb"
|
||||
}
|
||||
}
|
||||
if (config.totalSize == null) {
|
||||
config.totalSize = {
|
||||
count: -1,
|
||||
unit: "gb"
|
||||
}
|
||||
}
|
||||
return {
|
||||
config: config
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user