add es lang

This commit is contained in:
lejianwen
2024-11-26 10:42:21 +08:00
parent ad33afb154
commit ce242e344a
12 changed files with 490 additions and 24 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
min-height: 100vh;
border-right: none;
&:not(.el-menu--collapse) {
width: 210px;
width: var(--sideBarWidth);
}
}
+4 -5
View File
@@ -1,6 +1,6 @@
<template>
<el-config-provider :locale="appStore.setting.locale">
<el-container>
<el-config-provider :locale="appStore.setting.locale.value">
<el-container :style="{'--sideBarWidth': sideBarWidth}">
<el-aside :width="leftWidth" class="app-left">
<g-aside></g-aside>
</el-aside>
@@ -27,7 +27,6 @@
</template>
<script setup>
import { useUserStore } from '@/store/user'
import { useAppStore } from '@/store/app'
import { useTagsStore } from '@/store/tags'
import { ref, computed } from 'vue'
@@ -37,8 +36,8 @@
const appStore = useAppStore()
const tagStore = useTagsStore()
const leftWidth = computed(() => appStore.setting.sideIsCollapse ? '64px' : '210px')
const sideBarWidth = computed(() => appStore.setting.locale.sideBarWidth)
const leftWidth = computed(() => appStore.setting.sideIsCollapse ? '64px' : 'var(--sideBarWidth)')
const cachedTags = ref([])