TargetContent.vue 510 B

12345678910111213141516171819
  1. <template>
  2. <Card hoverable :style="{ width: '240px', background: '#fff' }">
  3. <template #cover>
  4. <img alt="example" src="https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png" />
  5. </template>
  6. <CardMeta title="懒加载组件" />
  7. </Card>
  8. </template>
  9. <script lang="ts">
  10. import { defineComponent } from 'vue';
  11. import { Card } from 'ant-design-vue';
  12. export default defineComponent({
  13. components: { CardMeta: Card.Meta, Card },
  14. setup() {
  15. return {};
  16. },
  17. });
  18. </script>