Authored by lea guo

yohood原价购

... ... @@ -86,10 +86,7 @@ Component({
this.commonService = new CommonService();
const timeId = setInterval(() => {
if (this.data.isStart) {
const changeStatusTimeId = setTimeout(()=> {
this.triggerEvent('changeStatus');
clearTimeout(changeStatusTimeId)
});
this.triggerEvent('changeStatus');
clearInterval(timeId);
}
const fomartTimes = fomartCountdownTime({
... ...
... ... @@ -37,10 +37,7 @@ Component({
ready: function() {
const timeId = setInterval(() => {
if (this.data.isEnd) {
const changeStatusTimeId = setTimeout(()=> {
this.triggerEvent('changeStatus');
clearTimeout(changeStatusTimeId)
});
this.triggerEvent('changeStatus');
clearInterval(timeId);
}
const formatTimeList = this.formatCountDown();
... ...