删除语言切换

This commit is contained in:
刘旋 2023-04-24 15:46:21 +08:00
parent c9743536fa
commit 1e71ff9577
1 changed files with 5 additions and 5 deletions

View File

@ -53,19 +53,19 @@
:hide-timeout="50" :hide-timeout="50"
trigger="click" trigger="click"
@command="onLanguageChange"> @command="onLanguageChange">
<div class="layout-navbars-breadcrumb-user-icon"> <!-- <div class="layout-navbars-breadcrumb-user-icon">
<i class="iconfont" <i class="iconfont"
:class="state.disabledI18n === 'en' ? 'icon-fuhao-zhongwen' : 'icon-fuhao-yingwen'"></i> :class="state.disabledI18n === 'en' ? 'icon-fuhao-zhongwen' : 'icon-fuhao-yingwen'"></i>
</div> </div> -->
<template #dropdown> <!-- <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item command="zh-cn" <el-dropdown-item command="zh-cn"
:disabled="state.disabledI18n === 'zh-cn'">English</el-dropdown-item> :disabled="state.disabledI18n === 'zh-cn'">English</el-dropdown-item>
<el-dropdown-item command="en" <el-dropdown-item command="en"
:disabled="state.disabledI18n === 'en'">简体中文</el-dropdown-item> :disabled="state.disabledI18n === 'en'">简体中文</el-dropdown-item>
<!-- <el-dropdown-item command="zh-cn" :disabled="state.disabledI18n === 'zh-cn'">简体中文</el-dropdown-item> -->
</el-dropdown-menu> </el-dropdown-menu>
</template> </template> -->
</el-dropdown> </el-dropdown>
<div class="layout-navbars-breadcrumb-user-icon mr10" <div class="layout-navbars-breadcrumb-user-icon mr10"
@click="onScreenfullClick"> @click="onScreenfullClick">