mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-embeded.git
synced 2025-06-23 21:14:13 +08:00
fixed
This commit is contained in:
parent
afbe9b59ad
commit
8318b61431
@ -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); });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user