修改
This commit is contained in:
parent
e48f9de4bb
commit
51322af5e1
@ -180,9 +180,11 @@
|
||||
that.openid = value2
|
||||
}
|
||||
this.getlist()
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
if (this.timecount > 0) {
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
watch: { //监听
|
||||
timecount() {
|
||||
|
||||
@ -114,9 +114,11 @@
|
||||
that.openid = value2
|
||||
}
|
||||
this.getlist()
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
if (this.timecount > 0) {
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
onUnload() {
|
||||
clearInterval(this.Timers); //清除该函数
|
||||
|
||||
@ -293,9 +293,11 @@
|
||||
},
|
||||
onShow() {
|
||||
this.goodsOrderinfo()
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
if (this.timecount > 0) {
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
this.baseurl = baseurl
|
||||
|
||||
@ -205,9 +205,11 @@
|
||||
},
|
||||
onShow() {
|
||||
this.goodsOrderinfo(this.goodsOrderId)
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
if (this.timecount > 0) {
|
||||
this.Timers = setInterval(() => {
|
||||
this.timecount--;
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user