@@ -64,10 +64,19 @@
this.sliderObj = data;
this.getYzmBtn();
},
+
+ showToast(){
+ toast("请先完成滑块验证!")
+ },
telClose(AWSC) {
AWSC.getReset();
this.$emit('telClose')
+ telReset(){
+ this.myflag++;
// 清空手机号
clearTel() {
@@ -110,7 +119,7 @@
}else{
this.startCountdown();
this.getMessage();
- this.myflag++;
+ this.telReset();
this.sliderObj = {};
}
@@ -194,7 +203,7 @@
if (res.code == 0) {
toast('手机号绑定成功')
this.updataTel(this.bindObj.telNumber);
- this.telClose();
this.$emit('bindBtn')
})
@@ -211,9 +220,6 @@
</script>
<script module="AWSC" lang="renderjs">
- import {
- toast
- } from "../../utils/common";
export default {
mounted() {
const script = document.createElement('script');
@@ -277,7 +283,7 @@
token: this.token
} else {
- toast("请先完成滑块验证!")
+ ownerInstance.callMethod('showToast')