dev
This commit is contained in:
@@ -67,7 +67,18 @@ const emblemOptions = computed(() => {
|
||||
if (part.value == '彩色') {
|
||||
return infoStore.emblems.filter((a) => a.type != '白金').sort((a, b) => b.fame - a.fame)
|
||||
}
|
||||
return infoStore.emblems.filter((a) => a.type == part.value).sort((a, b) => b.fame - a.fame)
|
||||
return infoStore.emblems
|
||||
.filter((a) => {
|
||||
const color = part.value[0]
|
||||
// if (part.value == '红色' || part.value == '绿色') {
|
||||
// return a.type == part.value || a.type == '红绿' || a.type == '彩色'
|
||||
// }
|
||||
// if (part.value == '黄色' || part.value == '蓝色') {
|
||||
// return a.type == part.value || a.type == '蓝黄' || a.type == '彩色'
|
||||
// }
|
||||
return a.type == part.value || a.type == '彩色' || a.type.includes(color)
|
||||
})
|
||||
.sort((a, b) => b.fame - a.fame)
|
||||
})
|
||||
|
||||
const emblemMaxCount = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user