perf: 更新文档

This commit is contained in:
就眠仪式
2021-10-24 20:35:43 +08:00
parent 3bd3dbf6cb
commit 3f60aabe19
10 changed files with 146 additions and 115 deletions

View File

@@ -35,7 +35,14 @@
</div>
</template>
<script setup name="LayCarousel" lang="ts">
import { withDefaults, defineProps, provide, useSlots, ref, computed } from 'vue'
import {
withDefaults,
defineProps,
provide,
useSlots,
ref,
computed,
} from 'vue'
const slot = useSlots() as any
const slots = slot.default && (slot.default() as any[])
@@ -54,7 +61,7 @@ const props = withDefaults(
height: '280px',
anim: 'default',
arrow: 'hover',
indicator: 'inside'
indicator: 'inside',
}
)
@@ -99,4 +106,4 @@ const next = function () {
}
}
}
</script>
</script>

View File

@@ -16,4 +16,4 @@ export default {
.layui-footer {
box-sizing: border-box;
}
</style>
</style>