国际化、主题处理

This commit is contained in:
Gary Fu
2023-12-17 15:49:30 +08:00
parent 45ccfddba5
commit d49cd6c1eb
7 changed files with 43 additions and 14 deletions

View File

@@ -1,13 +1,12 @@
<script setup>
import LeftMenu from '@/components/LeftMenu.vue'
import TopNav from '@/components/TopNav.vue'
import LeftMenu from '@/layout/LeftMenu.vue'
import TopNav from '@/layout/TopNav.vue'
import { ref } from 'vue'
import dayjs from 'dayjs'
const collapseLeft = ref(false)
const value1 = ref(new Date())
const color = ref('rgba(19, 206, 102, 0.8)')
const testDay = function () {
return dayjs.weekdays()
@@ -33,10 +32,6 @@ const testDay = function () {
type="date"
placeholder="Pick a day"
/>
<el-color-picker
v-model="color"
show-alpha
/>
{{ testDay() }}
{{ $i18n.locale }}
</el-main>