mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-02 16:37:53 +00:00
feat(任务调度): 添加立即执行定时任务功能
refactor(前端): 统一调整表格高度为500px style(前端): 优化用户管理页面布局 fix(前端): 修复验证码未开启时的登录验证规则 perf(任务调度): 优化任务状态更新逻辑 fix(后端): 修复字符类型映射问题 docs(后端): 更新数据库配置为MySQL feat(登录): 添加登录/登出成功通知
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user