feat: add transition for toggle strict

This commit is contained in:
YunYouJun
2022-04-18 01:45:28 +08:00
parent 6984b01b50
commit 077b9e9b43
3 changed files with 48 additions and 88 deletions

View File

@@ -229,8 +229,8 @@ const { isVisible, show } = useInvisibleElement(recipePanel)
🍲 来看看组合出的菜谱吧
</h2>
<Switch />
<Transition mode="out-in">
<div p="2">
<div p="2">
<Transition mode="out-in">
<span v-if="!curStuff.length && !curTool" text="sm" p="2">
你要先选食材或工具哦
</span>
@@ -245,7 +245,7 @@ const { isVisible, show } = useInvisibleElement(recipePanel)
大胆尝试一下或者<a href="#" @click="rStore.reset()">
<strong>换个组合</strong></a>
</span>
</div>
</Transition>
</Transition>
</div>
</div>
</template>