fixed:调整v2.5.0测试版bug (#931)
* update readme badge for en * server/middleware/operation.go : fix 当记录日志当请求为GET时,不对query参数进行记录 * update element badge to element--plus-2.0.1-green * fix unmatched type of id field * update badge for vue gorm in readme * fixed:#917 Co-authored-by: helight <helight@helight.info> Co-authored-by: wan9xy <wan9xy@qq.com> Co-authored-by: he <trumanhe0@gmail.com> Co-authored-by: 无星夜 <31583810+TrumanH@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
co-authored by
helight
wan9xy
he
无星夜
parent
c8ce379163
commit
30b16984ed
@@ -67,6 +67,7 @@ export const useUserStore = defineStore('user', () => {
|
||||
const res = await jsonInBlacklist()
|
||||
if (res.code === 0) {
|
||||
token.value = ''
|
||||
sessionStorage.clear()
|
||||
localStorage.clear()
|
||||
router.push({ name: 'Login', replace: true })
|
||||
window.location.reload()
|
||||
|
||||
Reference in New Issue
Block a user