签章流程
This commit is contained in:
@@ -171,9 +171,9 @@
|
||||
timeS = 60
|
||||
timer = setInterval(() => {
|
||||
timeS--
|
||||
if (timeS == 0) {
|
||||
this.stopTimer()
|
||||
if (timeS <= 0) {
|
||||
this.smsTips = "重新发送"
|
||||
this.stopTimer()
|
||||
} else {
|
||||
this.smsTips = timeS + "秒"
|
||||
}
|
||||
@@ -196,7 +196,10 @@
|
||||
}
|
||||
},
|
||||
onUnload() {
|
||||
this.stopTimer()
|
||||
if (timer != null) {
|
||||
clearInterval(timer)
|
||||
timer = null
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user