fix: modify

develop
sqlnice 2024-11-01 16:45:32 +08:00
parent a2b80d08a0
commit cfa10ec687
1 changed files with 3 additions and 3 deletions

View File

@ -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
} }
}) })
} }