增加jwt主动失效功能(next:多点登录限制

This commit is contained in:
pixel
2019-12-28 18:32:47 +08:00
parent 22820d9983
commit 7e3870490f
11 changed files with 114 additions and 10 deletions
+2 -2
View File
@@ -51,7 +51,7 @@
<script>
import Aside from '@/view/layout/aside'
import { mapGetters, mapMutations } from 'vuex'
import { mapGetters, mapActions } from 'vuex'
export default {
name: 'Layout',
data() {
@@ -63,7 +63,7 @@ export default {
Aside
},
methods: {
...mapMutations('user', ['LoginOut']),
...mapActions('user', ['LoginOut']),
totalCollapse() {
this.isCollapse = !this.isCollapse
this.$bus.emit('totalCollapse')