将部分MB、GB...改成MiB、GiB...

This commit is contained in:
GoEdgeLab
2023-12-03 11:41:04 +08:00
parent c938df5b7e
commit 269a1b45f3
4 changed files with 5 additions and 5 deletions

View File

@@ -18731,7 +18731,7 @@ Vue.component("url-patterns-box", {
Vue.component("size-capacity-view", {
props:["v-default-text", "v-value"],
template: `<div>
<span v-if="vValue != null && vValue.count > 0">{{vValue.count}}{{vValue.unit.toUpperCase()}}</span>
<span v-if="vValue != null && vValue.count > 0">{{vValue.count}}{{vValue.unit.toUpperCase().replace(/(.)B/, "$1iB")}}</span>
<span v-else>{{vDefaultText}}</span>
</div>`
})