mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
fix: update
This commit is contained in:
parent
0ad3418239
commit
cf78f6aa6a
@ -78,6 +78,8 @@ function translationEn() {
|
|||||||
color: locale === 'zh' ? '#f4f4f5' : '#000'
|
color: locale === 'zh' ? '#f4f4f5' : '#000'
|
||||||
}"
|
}"
|
||||||
@click="translationCh"
|
@click="translationCh"
|
||||||
|
><el-icon class="check-zh" v-show="locale === 'zh'"
|
||||||
|
><check /></el-icon
|
||||||
>简体中文</el-dropdown-item
|
>简体中文</el-dropdown-item
|
||||||
>
|
>
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
@ -86,6 +88,8 @@ function translationEn() {
|
|||||||
color: locale === 'en' ? '#f4f4f5' : '#000'
|
color: locale === 'en' ? '#f4f4f5' : '#000'
|
||||||
}"
|
}"
|
||||||
@click="translationEn"
|
@click="translationEn"
|
||||||
|
><el-icon class="check-en" v-show="locale === 'en'"
|
||||||
|
><check /></el-icon
|
||||||
>English</el-dropdown-item
|
>English</el-dropdown-item
|
||||||
>
|
>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
@ -220,6 +224,18 @@ function translationEn() {
|
|||||||
color: #606266;
|
color: #606266;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.check-zh {
|
||||||
|
position: absolute;
|
||||||
|
left: 20px;
|
||||||
|
top: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.check-en {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 13px;
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.logout {
|
.logout {
|
||||||
|
@ -151,6 +151,8 @@ onMounted(() => {
|
|||||||
color: locale === 'zh' ? '#f4f4f5' : '#000'
|
color: locale === 'zh' ? '#f4f4f5' : '#000'
|
||||||
}"
|
}"
|
||||||
@click="translationCh"
|
@click="translationCh"
|
||||||
|
><el-icon class="check-zh" v-show="locale === 'zh'"
|
||||||
|
><check /></el-icon
|
||||||
>简体中文</el-dropdown-item
|
>简体中文</el-dropdown-item
|
||||||
>
|
>
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
@ -159,6 +161,8 @@ onMounted(() => {
|
|||||||
color: locale === 'en' ? '#f4f4f5' : '#000'
|
color: locale === 'en' ? '#f4f4f5' : '#000'
|
||||||
}"
|
}"
|
||||||
@click="translationEn"
|
@click="translationEn"
|
||||||
|
><el-icon class="check-en" v-show="locale === 'en'"
|
||||||
|
><check /></el-icon
|
||||||
>English</el-dropdown-item
|
>English</el-dropdown-item
|
||||||
>
|
>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
@ -202,6 +206,18 @@ onMounted(() => {
|
|||||||
color: #606266;
|
color: #606266;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.check-zh {
|
||||||
|
position: absolute;
|
||||||
|
left: 20px;
|
||||||
|
top: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.check-en {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 13px;
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.logout {
|
.logout {
|
||||||
|
@ -80,7 +80,6 @@ function resolvePath(routePath) {
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<el-menu-item
|
<el-menu-item
|
||||||
:hide-timeout="100000"
|
|
||||||
:index="resolvePath(onlyOneChild.path)"
|
:index="resolvePath(onlyOneChild.path)"
|
||||||
:class="{ 'submenu-title-noDropdown': !isNest }"
|
:class="{ 'submenu-title-noDropdown': !isNest }"
|
||||||
style="display: flex; align-items: center"
|
style="display: flex; align-items: center"
|
||||||
@ -133,7 +132,6 @@ function resolvePath(routePath) {
|
|||||||
|
|
||||||
<el-sub-menu
|
<el-sub-menu
|
||||||
v-else
|
v-else
|
||||||
:hide-timeout="100000"
|
|
||||||
ref="subMenu"
|
ref="subMenu"
|
||||||
:index="resolvePath(props.item.path)"
|
:index="resolvePath(props.item.path)"
|
||||||
popper-append-to-body
|
popper-append-to-body
|
||||||
|
Loading…
x
Reference in New Issue
Block a user