Commit 992b4b27 authored by qipeng's avatar qipeng

增加时间删除

parent d39e0d25
......@@ -435,6 +435,7 @@
orderTypeNum:1,//订单是否展开
timer1:null,
timer2:null,
timer3:null,
maskType :false,
d:'',//倒计时 天
h: '',//倒计时 时
......@@ -497,6 +498,10 @@
clearTimeout(this.timer2)
this.timer2 = null
}
if(this.timer3) {
clearTimeout(this.timer3)
this.timer3 = null
}
uni.setScreenBrightness({// 恢复之前屏幕亮度
value: this.Brightness
})
......@@ -568,7 +573,7 @@
}
})
.catch((err) => {
setTimeout(() => {
this.timer3 = setTimeout(() => {
this.getDetail();
}, 2000);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment