feat: Element Plus 最新版本国际化和集成i18n插件实现自定义国际化(包括动态路由)

This commit is contained in:
郝先瑞
2022-02-24 00:22:11 +08:00
parent 71cec7be32
commit 966bdf1b6e
10 changed files with 142 additions and 87 deletions

View File

@@ -2,8 +2,7 @@
<div ref="rightPanel" :class="{show:show}" class="rightPanel-container">
<div class="rightPanel-background"/>
<div class="rightPanel">
<!-- <div class="handle-button" :style="{'top':buttonTop+'px','background-color:blue'}" @click="show=!show">-->
<div class="handle-button" @click="show=!show">
<div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show">
<Close v-show="show"/>
<Setting v-show="!show"/>
</div>
@@ -31,9 +30,7 @@ const props = defineProps({
}
})
const theme = computed(() => {
useSettingStoreHook().theme
})
const theme = ""
const show = ref(false)