This commit is contained in:
njdaoyehu 2025-06-05 02:57:38 +08:00
parent afbe9b59ad
commit 8318b61431

View File

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