登录问题修改

master
lzq 2025-08-15 10:32:07 +08:00
parent f4d7d6333f
commit 9f33b86a18
4 changed files with 9 additions and 6 deletions

View File

@ -101,7 +101,7 @@ function loginSubmitHandler() {
width: 100%;
display: flex;
background-image: url("@/assets/images/login_bg.png");
background-size: 100%;
background-size: cover;
}
.left-zone {

View File

@ -90,10 +90,6 @@ function bookmarkHandler(data: AppTypes.Menu) {
reloadUserInfo()
})
}
onUnmounted(() => {
Evt.off('logout')
})
</script>
<style lang="stylus" scoped>

View File

@ -77,6 +77,11 @@
<IxInput control="email"/>
</IxFormItem>
</IxCol>
<IxCol :span="6">
<IxFormItem :gutter="[0,10]" label="密码">
<IxInput control="secret" type="password"/>
</IxFormItem>
</IxCol>
</IxRow>
</IxFormWrapper>
</IxForm>
@ -204,7 +209,8 @@ const formGroup = useFormGroup<UserTypes.SysUser>({
account: {
username: [ undefined, Validators.required ],
email: [ undefined ],
phone: [ undefined ]
phone: [ undefined ],
secret: [ undefined ]
},
})

View File

@ -9,6 +9,7 @@ declare global {
username?: string
email?: string
phone?: string
secret?: string
}
interface SysUser {