refactor: refresh webui

This commit is contained in:
Jacky 2024-04-30 09:53:45 +08:00
parent 59d59dd3ed
commit 4c7e037b76
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
138 changed files with 2232 additions and 1071 deletions

View file

@ -1,12 +1,13 @@
<script setup lang="ts">
import { LockOutlined, UserOutlined } from '@ant-design/icons-vue'
import { Form, message } from 'ant-design-vue'
import gettext from '@/gettext'
import { useUserStore } from '@/pinia'
import auth from '@/api/auth'
import install from '@/api/install'
import SetLanguage from '@/components/SetLanguage/SetLanguage.vue'
import SwitchAppearance from '@/components/SwitchAppearance/SwitchAppearance.vue'
import gettext from '@/gettext'
const thisYear = new Date().getFullYear()
@ -18,7 +19,6 @@ install.get_lock().then(async (r: { lock: boolean }) => {
await router.push('/install')
})
const { $gettext } = gettext
const loading = ref(false)
const modelRef = reactive({