[WEB] Implement birthday setting 🎂
This commit is contained in:
parent
fe691bccbf
commit
ee8de60a0d
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,9 @@ mk-settings
|
||||||
label
|
label
|
||||||
p 自己紹介
|
p 自己紹介
|
||||||
textarea@account-bio { I.bio }
|
textarea@account-bio { I.bio }
|
||||||
|
label
|
||||||
|
p 誕生日
|
||||||
|
input@account-birthday(type='date', value={ I.birthday })
|
||||||
button.style-primary(onclick={ update-account }) 保存
|
button.style-primary(onclick={ update-account }) 保存
|
||||||
|
|
||||||
section.web(show={ page == 'web' })
|
section.web(show={ page == 'web' })
|
||||||
|
@ -236,6 +239,7 @@ script.
|
||||||
name: @refs.account-name.value
|
name: @refs.account-name.value
|
||||||
location: @refs.account-location.value
|
location: @refs.account-location.value
|
||||||
bio: @refs.account-bio.value
|
bio: @refs.account-bio.value
|
||||||
|
birthday: @refs.account-birthday.value
|
||||||
.then (i) ~>
|
.then (i) ~>
|
||||||
@update-i i
|
@update-i i
|
||||||
alert \ok
|
alert \ok
|
||||||
|
|
Loading…
Reference in a new issue