手机号
This commit is contained in:
@@ -16,6 +16,12 @@
|
||||
<input placeholder="请输入昵称" type="nickname" v-model="userInfo.nickName" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<h2>手机号</h2>
|
||||
<div class="form-item__right">
|
||||
<input placeholder="请输入手机号" type="number" maxlength="11" v-model="userInfo.phone" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-wrapper">
|
||||
@@ -66,6 +72,10 @@
|
||||
return this.$toast('请输入昵称')
|
||||
}
|
||||
|
||||
if (!this.userInfo.phone) {
|
||||
return this.$toast('请输入手机号')
|
||||
}
|
||||
|
||||
this.$loading()
|
||||
this.$instance.post('/api/appwechatuser/update-nickName', null, {
|
||||
params: {
|
||||
|
||||
Reference in New Issue
Block a user