echo
This commit is contained in:
parent
8da2f4b082
commit
e053b6be6b
@ -218,6 +218,3 @@ class OrderBaseSync extends Command
|
||||
return $orderItems;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
echo strtotime('2018-10-01 00:00:00') - strtotime('2018-08-01 00:00:00');
|
||||
|
@ -109,7 +109,7 @@ export default {
|
||||
this.current++;
|
||||
} else {
|
||||
this.circle.content = '同步失败';
|
||||
this.circle.percent = this.steps[this.current - 1]['max'];
|
||||
this.circle.percent = this.steps[this.current - 1] ? this.steps[this.current - 1]['max'] : 0;
|
||||
this.status = 'error';
|
||||
}
|
||||
this.disabled = false;
|
||||
@ -117,7 +117,7 @@ export default {
|
||||
clearInterval(interval);
|
||||
}).catch((err) => {
|
||||
this.circle.content = '同步失败';
|
||||
this.circle.percent = this.steps[this.current - 1]['max'];
|
||||
this.circle.percent = this.steps[this.current - 1] ? this.steps[this.current - 1]['max'] : 0;
|
||||
this.status = 'error';
|
||||
this.disabled = false;
|
||||
clearInterval(interval);
|
||||
|
@ -92,7 +92,7 @@ export default {
|
||||
clearInterval(interval);
|
||||
}).catch((err) => {
|
||||
this.circle.content = '同步失败';
|
||||
this.circle.percent = this.steps[this.current - 1]['max'];
|
||||
this.circle.percent = this.steps[this.current - 1] ? this.steps[this.current - 1]['max'] : 0;
|
||||
this.status = 'error';
|
||||
this.disabled = false;
|
||||
clearInterval(interval);
|
||||
|
Loading…
x
Reference in New Issue
Block a user