diff --git a/web/public/js/components.js b/web/public/js/components.js
index b1803129..5d7d9331 100644
--- a/web/public/js/components.js
+++ b/web/public/js/components.js
@@ -6344,7 +6344,7 @@ example2.com
+
`}),Vue.component("size-capacity-view",{props:["v-default-text","v-value"],template:`
diff --git a/web/public/js/components.src.js b/web/public/js/components.src.js
index ab304ffb..726249b6 100755
--- a/web/public/js/components.src.js
+++ b/web/public/js/components.src.js
@@ -18731,7 +18731,7 @@ Vue.component("url-patterns-box", {
Vue.component("size-capacity-view", {
props:["v-default-text", "v-value"],
template: `
- {{vValue.count}}{{vValue.unit.toUpperCase()}}
+ {{vValue.count}}{{vValue.unit.toUpperCase().replace(/(.)B/, "$1iB")}}
{{vDefaultText}}
`
})
diff --git a/web/public/js/components/common/size-capacity-view.js b/web/public/js/components/common/size-capacity-view.js
index ab45f455..fa6610b6 100644
--- a/web/public/js/components/common/size-capacity-view.js
+++ b/web/public/js/components/common/size-capacity-view.js
@@ -1,7 +1,7 @@
Vue.component("size-capacity-view", {
props:["v-default-text", "v-value"],
template: `
- {{vValue.count}}{{vValue.unit.toUpperCase()}}
+ {{vValue.count}}{{vValue.unit.toUpperCase().replace(/(.)B/, "$1iB")}}
{{vDefaultText}}
`
})
\ No newline at end of file
diff --git a/web/views/@default/servers/components/cache/index.html b/web/views/@default/servers/components/cache/index.html
index 4a19029d..15bb07d4 100644
--- a/web/views/@default/servers/components/cache/index.html
+++ b/web/views/@default/servers/components/cache/index.html
@@ -53,9 +53,9 @@
{{infos[index].typeName}} ({{policy.type}})
- {{policy.capacity.count}}{{policy.capacity.unit.toUpperCase()}}
+ {{policy.capacity.count}}{{policy.capacity.unit.toUpperCase().replace(/(.)B/, "$1iB")}}
- (内存:{{policy.options.memoryPolicy.capacity.count}}{{policy.options.memoryPolicy.capacity.unit.toUpperCase()}})
+ (内存:{{policy.options.memoryPolicy.capacity.count}}{{policy.options.memoryPolicy.capacity.unit.toUpperCase().replace(/(.)B/, "$1iB")}})
不限