| 123456789101112131415161718 |
- <!-- 引入组件的父组件 -->
- <template>
- <div class="parent-container">
- <Introduce :targetId="1" />
- </div>
- </template>
- <script setup lang="ts">
- import Introduce from './Introduce.vue';
- </script>
- <style scoped lang="scss">
- .parent-container {
- padding: 20px;
- background-color: #f0f8ff;
- }
- </style>
|