Authored by lea guo

yohood原价购

@@ -86,10 +86,7 @@ Component({ @@ -86,10 +86,7 @@ Component({
86 this.commonService = new CommonService(); 86 this.commonService = new CommonService();
87 const timeId = setInterval(() => { 87 const timeId = setInterval(() => {
88 if (this.data.isStart) { 88 if (this.data.isStart) {
89 - const changeStatusTimeId = setTimeout(()=> {  
90 this.triggerEvent('changeStatus'); 89 this.triggerEvent('changeStatus');
91 - clearTimeout(changeStatusTimeId)  
92 - });  
93 clearInterval(timeId); 90 clearInterval(timeId);
94 } 91 }
95 const fomartTimes = fomartCountdownTime({ 92 const fomartTimes = fomartCountdownTime({
@@ -37,10 +37,7 @@ Component({ @@ -37,10 +37,7 @@ Component({
37 ready: function() { 37 ready: function() {
38 const timeId = setInterval(() => { 38 const timeId = setInterval(() => {
39 if (this.data.isEnd) { 39 if (this.data.isEnd) {
40 - const changeStatusTimeId = setTimeout(()=> {  
41 this.triggerEvent('changeStatus'); 40 this.triggerEvent('changeStatus');
42 - clearTimeout(changeStatusTimeId)  
43 - });  
44 clearInterval(timeId); 41 clearInterval(timeId);
45 } 42 }
46 const formatTimeList = this.formatCountDown(); 43 const formatTimeList = this.formatCountDown();