Browse Source

修改手机号

panhui 4 years ago
parent
commit
38cf6a6736
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/nine-space/src/views/account/ChangePhone.vue

+ 2 - 1
src/main/nine-space/src/views/account/ChangePhone.vue

@@ -47,7 +47,7 @@
         <van-form v-else ref="form" @submit="submit">
             <van-field
                 type="tel"
-                name="用户名"
+                name="手机号码"
                 placeholder="请输入手机号"
                 v-model="form.phone"
                 :maxlength="11"
@@ -158,6 +158,7 @@ export default {
             this.verifyMsg(this.userInfo.phone, this.form.code).then(res => {
                 this.setTime(0);
                 this.step = 1;
+                this.form.code = '';
             });
         }
     }