style:布局
Showing
1 changed file
with
0 additions
and
10 deletions
... | @@ -21,25 +21,15 @@ | ... | @@ -21,25 +21,15 @@ |
21 | import { mapGetters } from 'vuex' | 21 | import { mapGetters } from 'vuex' |
22 | import Breadcrumb from '@/components/Breadcrumb' | 22 | import Breadcrumb from '@/components/Breadcrumb' |
23 | import Hamburger from '@/components/Hamburger' | 23 | import Hamburger from '@/components/Hamburger' |
24 | // import { getSession } from '@/utils/session' | ||
25 | export default { | 24 | export default { |
26 | components: { | 25 | components: { |
27 | Breadcrumb, | 26 | Breadcrumb, |
28 | Hamburger | 27 | Hamburger |
29 | }, | 28 | }, |
30 | created () { | ||
31 | // this.init(); | ||
32 | }, | ||
33 | computed: { | 29 | computed: { |
34 | ...mapGetters(['sidebar', 'avatar', 'name']) | 30 | ...mapGetters(['sidebar', 'avatar', 'name']) |
35 | }, | 31 | }, |
36 | methods: { | 32 | methods: { |
37 | // init () { | ||
38 | // let userInfo = getSession('userInfo'); | ||
39 | // if (userInfo && userInfo.userValid === 0) { | ||
40 | // this.userValid = 0; | ||
41 | // } | ||
42 | // }, | ||
43 | toggleSideBar () { | 33 | toggleSideBar () { |
44 | this.$store.dispatch('app/toggleSideBar') | 34 | this.$store.dispatch('app/toggleSideBar') |
45 | }, | 35 | }, | ... | ... |
-
Please register or sign in to post a comment