🐛(carousel): 修复轮播图初始化时无法获取 item 列表

更新文档
This commit is contained in:
就眠儀式
2022-06-18 16:33:31 +08:00
parent f030784410
commit f446f4ebd7
5 changed files with 44 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { computed, VNodeTypes } from 'vue';
import { computed, VNodeTypes } from "vue";
export default {
name: "Iframe",
};
@@ -13,9 +13,8 @@ export interface IframeProps {
const props = defineProps<IframeProps>();
const src = computed(() => {
return props.src as string
})
return props.src as string;
});
</script>
<template>