lzq 2025-12-08 13:45:12 +08:00
parent ac49a92e08
commit 206adfc16a
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,6 @@
// ------ // ------
// Generated by unplugin-vue-components // Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399 // Read more: https://github.com/vuejs/core/pull/3399
import { GlobalComponents } from 'vue'
export {} export {}
@ -106,4 +105,4 @@ declare global {
const ElUpload: typeof import('element-plus/es')['ElUpload'] const ElUpload: typeof import('element-plus/es')['ElUpload']
const RouterLink: typeof import('vue-router')['RouterLink'] const RouterLink: typeof import('vue-router')['RouterLink']
const RouterView: typeof import('vue-router')['RouterView'] const RouterView: typeof import('vue-router')['RouterView']
} }

View File

@ -12,7 +12,7 @@ import Strings from '@/common/utils/strings.ts'
import FormUtil from '@/common/utils/formUtil.ts' import FormUtil from '@/common/utils/formUtil.ts'
import { loadUserInfo } from '@/common/app' import { loadUserInfo } from '@/common/app'
const loginFormIns = useTemplateRef<FormInstance>('loginForm') const loginFormIns = useTemplateRef<FormInstance>('loginFormRef')
const loginForm = reactive<LoginTypes.LoginForm>({ const loginForm = reactive<LoginTypes.LoginForm>({
account: '', account: '',
@ -76,7 +76,7 @@ function loginSubmitHandler() {
{{ appName }} {{ appName }}
</div> </div>
<ElForm <ElForm
ref="loginForm" ref="loginFormRef"
:model="loginForm" :model="loginForm"
:rules="rules" :rules="rules"
class="form-content" class="form-content"