Browse Source

Update Navbar.vue

lex-xin 5 năm trước cách đây
mục cha
commit
68e1a7112c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {