diff --git a/backend/middleware/ip_limit.go b/backend/middleware/ip_limit.go index c2d2aa740..00a03e2e0 100644 --- a/backend/middleware/ip_limit.go +++ b/backend/middleware/ip_limit.go @@ -35,7 +35,7 @@ func WhiteAllow() gin.HandlerFunc { } } code := LoadErrCode() - helper.ErrWithHtml(c, code, "ip_limit") + helper.ErrWithHtml(c, code, "err_ip_limit") } } diff --git a/frontend/src/views/app-store/installed/detail/index.vue b/frontend/src/views/app-store/installed/detail/index.vue index 279e8a557..6931a3ca2 100644 --- a/frontend/src/views/app-store/installed/detail/index.vue +++ b/frontend/src/views/app-store/installed/detail/index.vue @@ -259,7 +259,7 @@ const get = async () => { } paramModel.value.memoryLimit = res.data.memoryLimit; paramModel.value.cpuQuota = res.data.cpuQuota; - paramModel.value.memoryUnit = res.data.memoryUnit !== '' ? res.data.memoryUnit : 'MB'; + paramModel.value.memoryUnit = res.data.memoryUnit !== '' ? res.data.memoryUnit : 'M'; paramModel.value.allowPort = res.data.allowPort; paramModel.value.containerName = res.data.containerName; paramModel.value.advanced = false;