diff --git a/api/app/lib/controllers/auth/index.js b/api/app/lib/controllers/auth/index.js index 3ce02bb..70b5799 100644 --- a/api/app/lib/controllers/auth/index.js +++ b/api/app/lib/controllers/auth/index.js @@ -88,8 +88,8 @@ async function login (ctx, next) { // await transaction.commit(); } catch (error) { // await transaction.rollback(); - ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); - ctx.status = 400; + ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`) + ctx.status = 400 let message = typeof error == 'string' ? error : error.response.body.message || "登录失败" if (message == '账号或密码错误') { diff --git a/web/client/src/sections/facility/containers/monitor.jsx b/web/client/src/sections/facility/containers/monitor.jsx index 73628d6..53cb694 100644 --- a/web/client/src/sections/facility/containers/monitor.jsx +++ b/web/client/src/sections/facility/containers/monitor.jsx @@ -28,14 +28,14 @@ const Server = (props) => { backgroundRepeat: 'no-repeat', }}> 进入Grafana
点击可跳转服务器监控网站Grafana
- {/*