feat: add function of async router and async menu; 🌟

新增:异步路由和菜单功能;
This commit is contained in:
iczer
2020-07-29 11:08:01 +08:00
parent a4764d880d
commit bfb0358217
36 changed files with 614 additions and 450 deletions

View File

@@ -25,13 +25,13 @@
</template>
<script>
import {mapState} from 'vuex'
import {mapGetters} from 'vuex'
import {logout} from '@/services'
export default {
name: 'HeaderAvatar',
computed: {
...mapState('account', ['user']),
...mapGetters('account', ['user']),
},
methods: {
logout() {