优化细节

This commit is contained in:
刘祥超
2021-10-30 22:33:56 +08:00
parent 1f91e57d56
commit 939e5999ca
2 changed files with 19 additions and 1 deletions

View File

@@ -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
}