Skip to content

完善token校验逻辑#236

Open
dylanhdy wants to merge 1 commit intolanqian528:devfrom
dylanhdy:dev
Open

完善token校验逻辑#236
dylanhdy wants to merge 1 commit intolanqian528:devfrom
dylanhdy:dev

Conversation

@dylanhdy
Copy link

设置AUTO_SEED为false后,无效的token会导致401 Unauthorized,进而页面无法正常渲染
截屏2025-02-22 14 09 40
截屏2025-02-22 14 11 31

增加校验逻辑后,token无效时会重定向至登录页面,保证后续逻辑能使用到正确token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant