形状显示查重

This commit is contained in:
Linzm committed 2025-07-30 09:58:10 +08:00
1 parent c95299398e
commit 187b43c4d0
1 file changed
+3 -1
+3 -1
View File
@@ -261,7 +261,9 @@ const getSizeList = () => {
sizeList.value = res
sizeList.value.forEach((item: any) => {
if (item.shape_item) {
shapeList.value.push(item.shape_item)
if (!shapeList.value.some(shape => shape.id === item.shape_id)) {
shapeList.value.push(item.shape_item)
}
} else {
showToast('该链接异常,请联系客服')
return