|
@@ -147,6 +147,10 @@ export default {
|
|
|
return item.relatedAttraction.includes(this.attractionList.length - this.attractionIdx) || this.attractionIdx === 0
|
|
|
}).filter((item) => {
|
|
|
return item.name.includes(this.keyword)
|
|
|
+ }).filter((item, index, array) => {
|
|
|
+ return array.findIndex((itemInner) => {
|
|
|
+ return itemInner.name === item.name
|
|
|
+ }) === index
|
|
|
})
|
|
|
}
|
|
|
},
|