fix: modify
parent
a2b80d08a0
commit
cfa10ec687
|
@ -37,9 +37,9 @@ export default {
|
||||||
getItemList() {
|
getItemList() {
|
||||||
getOrderStatistics().then(data => {
|
getOrderStatistics().then(data => {
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
this.numList[0].value = data.data.waitDoneTotal
|
this.numList[0].value = data.data.todoCount || 0
|
||||||
this.numList[1].value = data.data.doneTotal
|
this.numList[1].value = data.data.doneCount || 0
|
||||||
this.numList[2].value = data.data.orderTotal
|
this.numList[2].value = data.data.orderTotal || 0
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue