fix: 修复中

This commit is contained in:
tnt group
2022-09-29 19:25:29 +08:00
parent 965f734618
commit f17c22793b
3 changed files with 13 additions and 59 deletions
+2
View File
@@ -56,6 +56,8 @@ const backTextFromData = ref(props.backText)
// 翻牌
const flip = (front: string | number, back: string | number) => {
if (!back) back = +front - 1
console.log('flip:', { front, back })
// 如果处于翻转中,则不执行
if (isFlipping.value) return
// 设置翻盘前后数据