This commit is contained in:
11
js/index.js
11
js/index.js
@@ -141,17 +141,6 @@ $(function () {
|
||||
Authorization: "Bearer" + " " + localStorage.jwt,
|
||||
},
|
||||
success: handleSuccess,
|
||||
error: function () {
|
||||
// 插件未启用时回落到原有 /console/v1/common
|
||||
$.ajax({
|
||||
url: "/console/v1/common",
|
||||
method: "get",
|
||||
headers: {
|
||||
Authorization: "Bearer" + " " + localStorage.jwt,
|
||||
},
|
||||
success: handleSuccess,
|
||||
});
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取首页数据
|
||||
|
||||
Reference in New Issue
Block a user