From 4c77bb2405c1f58e7e82e9ad40aff978000c61f4 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 3 Nov 2022 17:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=B4=AD=E8=BD=A6=E4=B8=AD=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E6=94=B6=E8=B5=B7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/AbilityToApplyFor.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue index a5741a02..dd1f572c 100644 --- a/front/src/views/home/AbilityToApplyFor.vue +++ b/front/src/views/home/AbilityToApplyFor.vue @@ -29,7 +29,8 @@ p-id="5928" > - 展开 + 展开 + (共{{totalDataNum}}条数据)
- 收起 + 收起
+ const getDataTotalNum = () =>{ + let totalNum =0; + dataForm.value.forEach((item)=>{ + totalNum = totalNum +item.arr.length; + }); + totalDataNum.value = totalNum; + } + getDataTotalNum(); + //获取数据的总条数 + +