mirror of https://github.com/1Panel-dev/1Panel
feat: Fix 500 Error After Setting Authorized IP (#7334)
parent
4d760d3019
commit
75d94f5b89
|
@ -35,7 +35,7 @@ func WhiteAllow() gin.HandlerFunc {
|
|||
}
|
||||
}
|
||||
code := LoadErrCode()
|
||||
helper.ErrWithHtml(c, code, "ip_limit")
|
||||
helper.ErrWithHtml(c, code, "err_ip_limit")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue