fix: alias when strict

This commit is contained in:
YunYouJun
2022-04-15 02:21:28 +08:00
parent 69c27a7521
commit 8564c57af6
2 changed files with 5 additions and 3 deletions

View File

@@ -5,6 +5,10 @@
- 网站链接:[cook.yunyoujun.cn](https://cook.yunyoujun.cn) - 网站链接:[cook.yunyoujun.cn](https://cook.yunyoujun.cn)
- 备用:[cook.yyj.moe](https://cook.yyj.moe) - 备用:[cook.yyj.moe](https://cook.yyj.moe)
## 参考
- [❤️ 隔离食用手册大全 ❤️](https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt)
## 参与开发 ## 参与开发
```bash ```bash

View File

@@ -30,8 +30,6 @@ const displayedRecipe = computed(() => {
const toggleStuff = (item: StuffItem) => { const toggleStuff = (item: StuffItem) => {
rStore.toggleStuff(item.name) rStore.toggleStuff(item.name)
if (item.alias)
rStore.toggleStuff(item.alias)
} }
</script> </script>
@@ -131,7 +129,7 @@ const toggleStuff = (item: StuffItem) => {
😢 还没有这样的食谱呢 😢 还没有这样的食谱呢
<br> <br>
<a class="text-sm text-blue-600 dark:text-blue-400" href="https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt" target="_blank"> <a class="text-sm text-blue-600 dark:text-blue-400" href="https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt" target="_blank">
隔离食用手册大全 隔离食用手册大全
</a> </a>
</p> </p>
</Transition> </Transition>