1
2
3
4
5
6
| <template>
<div :class="wrpCls">
<avatar-dropdown :menu="showMenu" :current-user="currentUser" :class="prefixCls" />
<!-- 隐藏语言选择 <select-lang :class="prefixCls" />-->
</div>
</template>
|
1
2
3
4
5
6
7
8
9
| <template>
<div id="userLayout" :class="['user-layout-wrapper', isMobile && 'mobile']">
<div class="container">
<div class="user-layout-lang">
<!-- 隐藏语言选择 <select-lang class="select-lang-trigger" />-->
</div>
...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| ...
const app = {
state: {
sideCollapsed: false,
isMobile: false,
theme: 'dark',
layout: '',
contentWidth: '',
fixedHeader: false,
fixedSidebar: false,
autoHideHeader: false,
color: '',
weak: false,
multiTab: true,
lang: 'zh-CN', // 默认中文
_antLocale: {}
},
...
|