From cfa10ec687b0b53b7fc40afaf693c752229597d0 Mon Sep 17 00:00:00 2001 From: sqlnice <472252510@qq.com> Date: Fri, 1 Nov 2024 16:45:32 +0800 Subject: [PATCH] fix: modify --- .../new_dashboard_component/OrderStatistics.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/OrderStatistics.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/OrderStatistics.vue index 4fe9829..99d65bb 100644 --- a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/OrderStatistics.vue +++ b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/OrderStatistics.vue @@ -37,9 +37,9 @@ export default { getItemList() { getOrderStatistics().then(data => { if (data.success) { - this.numList[0].value = data.data.waitDoneTotal - this.numList[1].value = data.data.doneTotal - this.numList[2].value = data.data.orderTotal + this.numList[0].value = data.data.todoCount || 0 + this.numList[1].value = data.data.doneCount || 0 + this.numList[2].value = data.data.orderTotal || 0 } }) }