From df1b8efb3084a4f54ed641e1fdc70cccc1c5836f Mon Sep 17 00:00:00 2001 From: lihui_ocr Date: Sat, 20 Apr 2024 17:45:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=A1=B6=E9=83=A8=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=EF=BC=8C=E5=BF=AB=E6=8D=B7=E9=94=AEc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DataHeader/index.vue | 15 +++++++++------ src/views/task/modal/CustomFieldModal.vue | 15 ++++++++++++--- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/components/DataHeader/index.vue b/src/components/DataHeader/index.vue index f51cbe9..88151d5 100644 --- a/src/components/DataHeader/index.vue +++ b/src/components/DataHeader/index.vue @@ -9,7 +9,7 @@ defineProps({ }, }); -const data = ref([ +const datalist = ref([ { link: "count", title: "任务总数", @@ -71,7 +71,7 @@ async function getData() { approvedCount, notGoCount, } = data; - data.value = [ + let newdata=[ { link: "count", title: "任务总数", @@ -109,14 +109,17 @@ async function getData() { title: "小结重复数", count: repeatedNodules, }, - ]; + ] + datalist.value =newdata ; +console.log(datalist.value) } } -1 +