Skip to content

Commit 7128b9e

Browse files
committed
修复面板没有状态码的问题
1 parent 005ce4f commit 7128b9e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bmclapi_dashboard/static/js/index.min.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3037,9 +3037,10 @@ app.$Menu.add("dashboard", new class {
30373037
this._status_name_to_code = {
30383038
"success": 200,
30393039
"redirect": 302,
3040-
"error": 500,
3040+
"error": 503,
30413041
"not_exists": 404,
3042-
"partial": 206
3042+
"partial": 206,
3043+
"forbidden": 403
30433044
}
30443045
}
30453046
async init() {

0 commit comments

Comments
 (0)