wjt
2024-06-22 27da067243b78340dac4f75c5131059617594037
pages/registerCompany/registerCompany.vue
@@ -83,7 +83,7 @@
</template>
<script>
   import { registerCompany, checkCode, getCode } from '@/api/auth.js'
   import { registerCompany, checkCode, getNewVerify } from '@/api/auth.js'
   import { upload } from '@/common/upload'
   import { config } from '@/common/config.js'
   export default {
@@ -137,11 +137,13 @@
               uni.showLoading({
                  title: '正在获取验证码'
               })
               getCode({phone: this.form.companyPhone }).then(val => {
               getNewVerify({phone: this.form.companyPhone }).then(val => {
                  if(val.data.code == 200) {
                     this.startCountdown()
                     uni.hideLoading();
                     this.tips = `${this.countdownTime}s后重新获取`
                     uni.$u.toast('验证码已发送');
                  }
               })
            } else {
               uni.$u.toast('倒计时结束后再发送');