Commit 14be5069 by 章家宝

Merge remote-tracking branch 'origin/v1.2.0' into v1.2.0

2 parents 9440e870 8234ec4f
......@@ -69,9 +69,10 @@ export default class RoundBidPopup extends Vue {
}
setTimeoutSecond() {
if (this.nextAucVehData.remainSecond) {
if (this.nextAucVehData.remainSecond && Number(this.nextAucVehData.remainSecond) > 0) {
setTimeout(() => {
this.nextAucVehData.remainSecond = Number(this.nextAucVehData.remainSecond) - 1;
//取整数部分
this.nextAucVehData.remainSecond = Math.floor(Number(this.nextAucVehData.remainSecond)) - 1;
this.setTimeoutSecond();
}, 1000);
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!