From 8318b61431ada1c03e31fda527c880f0bfd27a39 Mon Sep 17 00:00:00 2001 From: njdaoyehu Date: Thu, 5 Jun 2025 02:57:38 +0800 Subject: [PATCH] fixed --- src/views/data/task/drawer.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/data/task/drawer.vue b/src/views/data/task/drawer.vue index 71e025b..8026f6c 100644 --- a/src/views/data/task/drawer.vue +++ b/src/views/data/task/drawer.vue @@ -347,11 +347,11 @@ const setParamData = (data: any) => { const uniqueListX = Array.from(new Map(paramData.value.map((item: any) => [item.x, item])).values()); // y去重 const uniqueListY = Array.from(new Map(paramData.value.map((item: any) => [item.y, item])).values()); - if (wallType === "B类" && uniqueListX.length <= 3 && uniqueListY.length > 3) { + if (wallType === "B类") { valueLabel.value = "选择X值:"; uniqueListX.forEach((item: any) => { numberList.value.push(item.x); }); } - if (wallType === "A类" && uniqueListY.length <= 3 && uniqueListX.length > 3) { + if (wallType === "A类") { valueLabel.value = "选择Y值:"; uniqueListY.forEach((item: any) => { numberList.value.push(item.y); }); }