36f17548 by 任超

style:字典

1 parent e9e20b99
<template>
<div class="navbar-con">
<div class="navbar">
<div class="title">{{ title }}</div>
<div class="title">{{ dicData['sysCode'][0].DNAME }}</div>
<div class="user">欢迎进入系统 {{ name }} <svg-icon icon-class='close' class="closeStyle" @click="onCancel" />退出系统</div>
<div class="sidebarLeft">
<sidebarLeft />
......@@ -13,7 +13,6 @@
</div>
</template>
<script>
import defaultSettings from '@/settings'
import sidebarLeft from './Sidebar/sidebarLeft'
import sidebarRight from './Sidebar/sidebarRight'
import { mapGetters } from 'vuex'
......@@ -23,16 +22,10 @@ export default {
sidebarRight
},
computed: {
...mapGetters(['sidebar', 'avatar', 'name'])
},
data () {
return {
title: defaultSettings.title
}
...mapGetters(['sidebar', 'dicData', 'name'])
},
methods: {
onCancel () {
}
}
}
......