style:字典
Showing
1 changed file
with
2 additions
and
9 deletions
| 1 | <template> | 1 | <template> |
| 2 | <div class="navbar-con"> | 2 | <div class="navbar-con"> |
| 3 | <div class="navbar"> | 3 | <div class="navbar"> |
| 4 | <div class="title">{{ title }}</div> | 4 | <div class="title">{{ dicData['sysCode'][0].DNAME }}</div> |
| 5 | <div class="user">欢迎进入系统 {{ name }} <svg-icon icon-class='close' class="closeStyle" @click="onCancel" />退出系统</div> | 5 | <div class="user">欢迎进入系统 {{ name }} <svg-icon icon-class='close' class="closeStyle" @click="onCancel" />退出系统</div> |
| 6 | <div class="sidebarLeft"> | 6 | <div class="sidebarLeft"> |
| 7 | <sidebarLeft /> | 7 | <sidebarLeft /> |
| ... | @@ -13,7 +13,6 @@ | ... | @@ -13,7 +13,6 @@ |
| 13 | </div> | 13 | </div> |
| 14 | </template> | 14 | </template> |
| 15 | <script> | 15 | <script> |
| 16 | import defaultSettings from '@/settings' | ||
| 17 | import sidebarLeft from './Sidebar/sidebarLeft' | 16 | import sidebarLeft from './Sidebar/sidebarLeft' |
| 18 | import sidebarRight from './Sidebar/sidebarRight' | 17 | import sidebarRight from './Sidebar/sidebarRight' |
| 19 | import { mapGetters } from 'vuex' | 18 | import { mapGetters } from 'vuex' |
| ... | @@ -23,16 +22,10 @@ export default { | ... | @@ -23,16 +22,10 @@ export default { |
| 23 | sidebarRight | 22 | sidebarRight |
| 24 | }, | 23 | }, |
| 25 | computed: { | 24 | computed: { |
| 26 | ...mapGetters(['sidebar', 'avatar', 'name']) | 25 | ...mapGetters(['sidebar', 'dicData', 'name']) |
| 27 | }, | ||
| 28 | data () { | ||
| 29 | return { | ||
| 30 | title: defaultSettings.title | ||
| 31 | } | ||
| 32 | }, | 26 | }, |
| 33 | methods: { | 27 | methods: { |
| 34 | onCancel () { | 28 | onCancel () { |
| 35 | |||
| 36 | } | 29 | } |
| 37 | } | 30 | } |
| 38 | } | 31 | } | ... | ... |
-
Please register or sign in to post a comment