This commit is contained in:
2026-04-30 15:59:12 +08:00
parent b06ed452dc
commit b273566822
@@ -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(() => {