Skip to content

Commit

Permalink
raise error message when login fail, release for r2.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
blackholll committed Apr 5, 2023
1 parent 8cdc301 commit 350db23
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/pages/User/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const Login: React.FC<{}> = () => {
}
// 如果失败去设置用户错误信息
setUserLoginState(msg);
message.error(`登录失败:${msg.msg}`)
} catch (error) {
message.error('登录失败,请重试!');
}
Expand Down
16 changes: 16 additions & 0 deletions sphinx_docs/source/others/release_note.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
==============



---------
r2.0.16
---------
- 优化:【部署】简化docker compose部署方式,image已传docker hub,不再需要本地build image,支持容器启动mysql
- 修复:【接口】工作流列表接口中admin列表信息返回错误
- 优化:【新功能】支持配置hook_url的host可信列表,提供安全性
- 修复:【管理后台】状态列表及自定义字段列表前端代码中per_page参数typo(实际不影响功能)
- 修复:【管理后台】工作流配置相关页面在第二页新增配置后列表页码显示错误
- 修复:【代码逻辑】工单标题模板未支持内置字段(creator、sn等)
- 修复:【代码逻辑】新建工单后,工单列表页面需要1分钟后才显示最新工单记录
- 修复:【管理后台】登录失败页面没有提示信息
- 修复:【代码逻辑】工单执行状态hook时,如果成功执行则没有记录操作日志问题
- 修复:【代码逻辑】新建工单的限制表达式中count参数实际未生效问题


---------
r2.0.15
---------
Expand Down
4 changes: 4 additions & 0 deletions sphinx_docs/source/q&a.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ celery任务日志路径取决于你启动celery任务时候指定的日志文

详见: https://github.com/blackholll/loonflow/issues/37

- 部署相关问题

详见文档"如何运行"章节

\ **有问题请优先查文档及在github上提issue,再考虑到群里(qq群:558788490)咨询, 群内问题我会每天晚上21:00-第二天8点之间答复(可能会遗漏)。
github 上issue不会遗漏。常见问题我会定期整理添加到此文档中**\

0 comments on commit 350db23

Please sign in to comment.