This commit is contained in:
曹辉 2023-04-27 14:22:18 +08:00
parent e48f9de4bb
commit 51322af5e1
4 changed files with 20 additions and 12 deletions

View File

@ -180,9 +180,11 @@
that.openid = value2 that.openid = value2
} }
this.getlist() this.getlist()
this.Timers = setInterval(() => { if (this.timecount > 0) {
this.timecount--; this.Timers = setInterval(() => {
}, 1000) this.timecount--;
}, 1000)
}
}, },
watch: { // watch: { //
timecount() { timecount() {

View File

@ -114,9 +114,11 @@
that.openid = value2 that.openid = value2
} }
this.getlist() this.getlist()
this.Timers = setInterval(() => { if (this.timecount > 0) {
this.timecount--; this.Timers = setInterval(() => {
}, 1000) this.timecount--;
}, 1000)
}
}, },
onUnload() { onUnload() {
clearInterval(this.Timers); // clearInterval(this.Timers); //

View File

@ -293,9 +293,11 @@
}, },
onShow() { onShow() {
this.goodsOrderinfo() this.goodsOrderinfo()
this.Timers = setInterval(() => { if (this.timecount > 0) {
this.timecount--; this.Timers = setInterval(() => {
}, 1000) this.timecount--;
}, 1000)
}
}, },
onLoad(options) { onLoad(options) {
this.baseurl = baseurl this.baseurl = baseurl

View File

@ -205,9 +205,11 @@
}, },
onShow() { onShow() {
this.goodsOrderinfo(this.goodsOrderId) this.goodsOrderinfo(this.goodsOrderId)
this.Timers = setInterval(() => { if (this.timecount > 0) {
this.timecount--; this.Timers = setInterval(() => {
}, 1000) this.timecount--;
}, 1000)
}
}, },
} }
</script> </script>