登录问题修改
parent
f4d7d6333f
commit
9f33b86a18
|
|
@ -101,7 +101,7 @@ function loginSubmitHandler() {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
background-image: url("@/assets/images/login_bg.png");
|
background-image: url("@/assets/images/login_bg.png");
|
||||||
background-size: 100%;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-zone {
|
.left-zone {
|
||||||
|
|
|
||||||
|
|
@ -90,10 +90,6 @@ function bookmarkHandler(data: AppTypes.Menu) {
|
||||||
reloadUserInfo()
|
reloadUserInfo()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
onUnmounted(() => {
|
|
||||||
Evt.off('logout')
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,11 @@
|
||||||
<IxInput control="email"/>
|
<IxInput control="email"/>
|
||||||
</IxFormItem>
|
</IxFormItem>
|
||||||
</IxCol>
|
</IxCol>
|
||||||
|
<IxCol :span="6">
|
||||||
|
<IxFormItem :gutter="[0,10]" label="密码">
|
||||||
|
<IxInput control="secret" type="password"/>
|
||||||
|
</IxFormItem>
|
||||||
|
</IxCol>
|
||||||
</IxRow>
|
</IxRow>
|
||||||
</IxFormWrapper>
|
</IxFormWrapper>
|
||||||
</IxForm>
|
</IxForm>
|
||||||
|
|
@ -204,7 +209,8 @@ const formGroup = useFormGroup<UserTypes.SysUser>({
|
||||||
account: {
|
account: {
|
||||||
username: [ undefined, Validators.required ],
|
username: [ undefined, Validators.required ],
|
||||||
email: [ undefined ],
|
email: [ undefined ],
|
||||||
phone: [ undefined ]
|
phone: [ undefined ],
|
||||||
|
secret: [ undefined ]
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ declare global {
|
||||||
username?: string
|
username?: string
|
||||||
email?: string
|
email?: string
|
||||||
phone?: string
|
phone?: string
|
||||||
|
secret?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SysUser {
|
interface SysUser {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue