登录问题修改
parent
f4d7d6333f
commit
9f33b86a18
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -90,10 +90,6 @@ function bookmarkHandler(data: AppTypes.Menu) {
|
|||
reloadUserInfo()
|
||||
})
|
||||
}
|
||||
|
||||
onUnmounted(() => {
|
||||
Evt.off('logout')
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
|
|
|
|||
|
|
@ -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 ]
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ declare global {
|
|||
username?: string
|
||||
email?: string
|
||||
phone?: string
|
||||
secret?: string
|
||||
}
|
||||
|
||||
interface SysUser {
|
||||
|
|
|
|||
Loading…
Reference in New Issue