Showing
2 changed files
with
3 additions
and
2 deletions
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | </label> | 9 | </label> |
10 | </li> | 10 | </li> |
11 | <li> | 11 | <li> |
12 | - <label>昵称<input class="nickname" v-model='nickname' maxlength="20" @input="setNickname" @change="checkNickname"></label> | 12 | + <label>昵称<input class="nickname" v-model='nickname' maxlength="16" @input="setNickname" @change="checkNickname"></label> |
13 | </li> | 13 | </li> |
14 | <li> | 14 | <li> |
15 | <label @click="setAender">性别 | 15 | <label @click="setAender">性别 |
@@ -51,7 +51,7 @@ | @@ -51,7 +51,7 @@ | ||
51 | }; | 51 | }; |
52 | }, | 52 | }, |
53 | computed: { | 53 | computed: { |
54 | - spanbirthday: function(){ | 54 | + spanbirthday: function() { |
55 | const arr = this.birthday.split('-'); | 55 | const arr = this.birthday.split('-'); |
56 | 56 | ||
57 | return arr.length === 3 ? `${arr[0]}年${arr[1]}月${arr[2]}日` : ''; | 57 | return arr.length === 3 ? `${arr[0]}年${arr[1]}月${arr[2]}日` : ''; |
-
Please register or login to post a comment