feat: 完成数字翻牌组件

This commit is contained in:
tnt group
2022-09-30 09:22:56 +08:00
parent 3e4cc376f9
commit 18ea1a575c
10 changed files with 292 additions and 64 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import Flipper from './index.vue'
type FlipType = 'up' | 'down'
export { Flipper }
export { Flipper, FlipType }
+1 -1
View File
@@ -13,7 +13,7 @@ export default {
<script lang="ts" setup>
import { ref, PropType, watch } from 'vue'
type FlipType = 'up' | 'down'
import { FlipType } from '.'
const props = defineProps({
flipType: {