[优化] timeline 时间线组件
This commit is contained in:
@@ -13,11 +13,19 @@
|
||||
</li>
|
||||
</template>
|
||||
|
||||
<script setup name="LayTimelineItem" lang="ts">
|
||||
import { defineProps } from 'vue'
|
||||
|
||||
const props = defineProps<{
|
||||
title: string
|
||||
simple?: boolean
|
||||
}>()
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "LayTimelineItem",
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { defineProps } from "vue";
|
||||
|
||||
export interface LayTimelineItemProps {
|
||||
title: string;
|
||||
simple?: boolean;
|
||||
}
|
||||
|
||||
const props = defineProps<LayTimelineItemProps>();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user