Skip to content

Commit

Permalink
Merge pull request #1018 from iview/2.0
Browse files Browse the repository at this point in the history
如果没有开启多语言,不显示切换语言下拉菜单
  • Loading branch information
Lison committed Oct 10, 2018
2 parents 0425a69 + a72c89a commit 65a4d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Header class="header-con">
<header-bar :collapsed="collapsed" @on-coll-change="handleCollapsedChange">
<user :user-avator="userAvator"/>
<language @on-lang-change="setLocal" style="margin-right: 10px;" :lang="local"/>
<language v-if="$config.useI18n" @on-lang-change="setLocal" style="margin-right: 10px;" :lang="local"/>
<fullscreen v-model="isFullscreen" style="margin-right: 10px;"/>
</header-bar>
</Header>
Expand Down

0 comments on commit 65a4d4b

Please sign in to comment.