api
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import common from '@/static/js/common.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -72,7 +73,7 @@ export default {
|
||||
[this.nickname, this.phoneNumber, this.birthday, this.gender, this.avatar] = [
|
||||
userInfo.member_nickname,
|
||||
userInfo.member_mobile,
|
||||
userInfo.member_birthday,
|
||||
common.timestampToDate({timestamp: userInfo.member_birthday}),
|
||||
userInfo.member_sex,
|
||||
userInfo.member_avatar,
|
||||
];
|
||||
@@ -97,7 +98,7 @@ export default {
|
||||
},
|
||||
setBirthday(value) {
|
||||
// console.log(value);
|
||||
this.birthday = value.year + '.' + value.month + '.' + value.day;
|
||||
this.birthday = value.year + '-' + value.month + '-' + value.day;
|
||||
},
|
||||
updatePhone() {
|
||||
uni.navigateTo({
|
||||
|
||||
Reference in New Issue
Block a user