修复一些问题以及优惠券管理功能

This commit is contained in:
xiaowang
2026-02-27 22:20:25 +08:00
parent 43f31eed53
commit fadc847b1d
30 changed files with 925 additions and 393 deletions
+3 -3
View File
@@ -53,13 +53,13 @@ const handleTokenExpired = () => {
sessionStorage.removeItem('accessToken')
showError('登录已过期,请重新登录')
try {
router.push('/auth').catch(err => {
router.push('/').catch(err => {
console.error('跳转到登录页失败:', err)
window.location.href = '/auth'
window.location.href = '/'
})
} catch (err) {
console.error('跳转到登录页异常:', err)
window.location.href = '/auth'
window.location.href = '/'
}
}
}