feat(任务调度): 添加立即执行定时任务功能

refactor(前端): 统一调整表格高度为500px
style(前端): 优化用户管理页面布局
fix(前端): 修复验证码未开启时的登录验证规则
perf(任务调度): 优化任务状态更新逻辑
fix(后端): 修复字符类型映射问题
docs(后端): 更新数据库配置为MySQL
feat(登录): 添加登录/登出成功通知
This commit is contained in:
zhangtao
2025-12-18 00:54:10 +08:00
parent 4c97e9f68c
commit d06e78d0ab
31 changed files with 239 additions and 660 deletions
+6 -2
View File
@@ -60,8 +60,12 @@ httpRequest.interceptors.response.use(
return Promise.reject(response);
}
// 如果请求不是 GET 请求,请求成功时显示成功提示
if (response.config.method?.toUpperCase() !== "GET") {
// 如果请求不是 GET 请求,且不是登录或退出登录接口,请求成功时显示成功提示
if (
response.config.method?.toUpperCase() !== "GET" &&
!response.config.url?.includes("login") &&
!response.config.url?.includes("logout")
) {
ElMessage.success(data.msg);
}