|
@@ -44,17 +44,18 @@ export default defineComponent({
|
|
|
methods: {
|
|
|
async onSendSms() {
|
|
|
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 {
|
|
|
this.countDownStatus = true
|
|
|
}
|