Browse Source

Update index.tsx

lex 1 year ago
parent
commit
fe80d0eca4
1 changed files with 12 additions and 11 deletions
  1. 12 11
      src/student/invite-teacher/invite-code/index.tsx

+ 12 - 11
src/student/invite-teacher/invite-code/index.tsx

@@ -44,17 +44,18 @@ export default defineComponent({
   methods: {
   methods: {
     async onSendSms() {
     async onSendSms() {
       try {
       try {
-        await request.post('/api-student/code/sendSmsCode', {
-          requestType: 'form',
-          data: {
-            mobile: this.phone,
-            type: 'LOGIN'
-          }
-        })
-        this.onCountDown()
-        setTimeout(() => {
-          Toast('验证码已发送')
-        }, 100)
+        // await request.post('/api-student/code/sendSmsCode', {
+        //   requestType: 'form',
+        //   data: {
+        //     mobile: this.phone,
+        //     type: 'LOGIN'
+        //   }
+        // })
+        // this.onCountDown()
+        // setTimeout(() => {
+        //   Toast('验证码已发送')
+        // }, 100)
+        this.imgCodeStatus = true
       } catch {
       } catch {
         this.countDownStatus = true
         this.countDownStatus = true
       }
       }