fix(frontend): 修复登录失败时通知弹两次的问题
- 在登录页面不再由 http.js 拦截器弹出 401 通知 - 让 LoginPage.vue 自己处理登录错误的显示 - 避免同一错误消息重复弹出
This commit is contained in:
1
static/app/assets/auth--ytvFYf6.js
Normal file
1
static/app/assets/auth--ytvFYf6.js
Normal file
@@ -0,0 +1 @@
|
||||
import{p as s}from"./index-CPwwGffH.js";async function r(){const{data:a}=await s.get("/email/verify-status");return a}async function o(){const{data:a}=await s.post("/generate_captcha",{});return a}async function e(a){const{data:t}=await s.post("/login",a);return t}async function i(a){const{data:t}=await s.post("/register",a);return t}async function c(a){const{data:t}=await s.post("/resend-verify-email",a);return t}async function f(a){const{data:t}=await s.post("/forgot-password",a);return t}async function u(a){const{data:t}=await s.post("/reset-password-confirm",a);return t}export{f as a,i as b,u as c,r as f,o as g,e as l,c as r};
|
||||
Reference in New Issue
Block a user