From 5386f47f55ecb9ad2189998f9dda6d682b6be7e0 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期二, 12 九月 2023 13:56:43 +0800 Subject: [PATCH] 修改空数据提示 --- pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue index e3d1cee..5a9e098 100644 --- a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue +++ b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue @@ -60,7 +60,7 @@ </view> </view> <view class="block-top"> - <combined-title title="鎻愮叅鍗曞巻鍙�"></combined-title> + <combined-title title="閫氱煡鍗曞巻鍙�"></combined-title> <view class="total"> 鎬诲噣閲� <text>{{ total.toFixed(2) || 0 }}</text> @@ -161,11 +161,13 @@ this.yyDailyList = res.data.yyDailyList; if (res.data.yyDailyList) { this.total = this.yyDailyList.reduce((prev, cur) => { + cur.clean = cur.clean ? cur.clean : 0 return prev + cur.clean; }, 0); } else { this.total = 0; } + console.log(); uni.hideLoading(); } else { this.$u.toast('鍔犺浇澶辫触锛岃绋嶅悗閲嶈瘯'); -- Gitblit v1.9.1