fix: rename 米饭 to 米

This commit is contained in:
YunYouJun
2022-04-17 21:36:36 +08:00
parent 016c7a2079
commit deb200f1c3
4 changed files with 96 additions and 96 deletions

View File

@@ -29,8 +29,8 @@ const displayedRecipe = computed(() => {
}
else {
const stuffFlag = curStuff.value.some(stuff => item.stuff.includes(stuff))
const toolFlag = curTools.value.some(tool => item.tools?.includes(tool))
return stuffFlag || toolFlag
const toolFlag = curTools.value.every(tool => item.tools?.includes(tool))
return curTools.value.length ? stuffFlag && toolFlag : stuffFlag
}
})
})
@@ -169,7 +169,7 @@ const { isVisible, show } = useInvisibleElement(recipePanel)
</div>
<div m="y-4">
<h2 opacity="90" text="base" font="bold" p="1">
🍚 一起下锅的主食不选也行
🍚 主食也要一起下锅吗不选也行
</h2>
<StapleTag
v-for="item, i in staple" :key="i"

View File

@@ -148,7 +148,7 @@ export const staple: StuffItem[] = [
emoji: '🍞',
},
{
name: '米',
name: '米',
emoji: '🍚',
},
{