Browse Source

Merge remote-tracking branch 'origin/master'

tanxue 4 years ago
parent
commit
5b2cc95ecc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pages/courseware/index.vue

+ 2 - 0
pages/courseware/index.vue

@@ -583,6 +583,8 @@
             this.$axios.$post('/sendCode',req).then(res=>{
             this.$axios.$post('/sendCode',req).then(res=>{
               if (res.code === 0 && res.data) {
               if (res.code === 0 && res.data) {
                 this.setTime();
                 this.setTime();
+              }else {
+                this.$message.error(res.msg||'手机号已存在');
               }
               }
             })
             })
           } else {
           } else {