Merge branch 'V2'
This commit is contained in:
commit
722437b24f
@ -3,7 +3,7 @@
|
||||
* @version:
|
||||
* @Date: 2021-04-20 11:06:21
|
||||
* @LastEditors: huzhushan@126.com
|
||||
* @LastEditTime: 2021-07-19 09:58:03
|
||||
* @LastEditTime: 2021-11-12 11:28:20
|
||||
* @Author: huzhushan@126.com
|
||||
* @HomePage: https://huzhushan.gitee.io/vue3-element-admin
|
||||
* @Github: https://github.com/huzhushan/vue3-element-admin
|
||||
@ -112,6 +112,9 @@ export default defineComponent({
|
||||
} else {
|
||||
router.push('/')
|
||||
}
|
||||
if (store.state.app.authorization) {
|
||||
store.dispatch('app/clearToken')
|
||||
}
|
||||
store.commit('app/setToken', data)
|
||||
} else {
|
||||
ctx.$message.error(message)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user