Browse Source

Update Navbar.vue

lex-xin 4 years ago
parent
commit
68e1a7112c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/Navbar.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -179,7 +179,7 @@ export default {
         this.isDisable = true;
         // 发请求成功后开启定时器
         // 发送验证码 
-        axios.post('/api-web/code/sendSms', qs.stringify({ mobile: this.resetForm.phone })).then(res => {
+        axios.post('/api-web/code/sendSms', qs.stringify({ mobile: this.$store.getters.phone })).then(res => {
           if (res.data.code == 200) {
             let timer = setInterval(res => {
               if (this.timerCount <= 0) {