Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -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