forked from natuka/web.puabadge.com
形状显示查重
This commit is contained in:
1 parent
c95299398e
commit
187b43c4d0
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user