mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修复中
This commit is contained in:
@@ -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
|
||||
// 设置翻盘前后数据
|
||||
|
||||
Reference in New Issue
Block a user