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); }); }