|
|
|
@ -43,6 +43,10 @@ Page({ |
|
|
|
} |
|
|
|
}, |
|
|
|
submitForm: function () { |
|
|
|
if(util.isEmpty(this.data.identityTag)){ |
|
|
|
util.showToast('请输入你的身份') |
|
|
|
return |
|
|
|
} |
|
|
|
this.setData({ requesting: true}) |
|
|
|
updateUserInfo({ identityTag: this.data.identityTag }).then(result => { |
|
|
|
this.setData({ requesting: false}) |
|
|
|
|