Blame view

src/views/demo/comp/drawer/Drawer3.vue 436 Bytes
陈文彬 authored
1
2
<template>
  <BasicDrawer v-bind="$attrs" title="Modal Title" width="50%" showFooter>
vben authored
3
    <p class="h-20" v-for="index in 40" :key="index">根据屏幕高度自适应</p>
陈文彬 authored
4
5
6
7
8
9
10
11
12
13
14
15
  </BasicDrawer>
</template>
<script lang="ts">
  import { defineComponent } from 'vue';
  import { BasicDrawer } from '/@/components/Drawer';
  export default defineComponent({
    components: { BasicDrawer },
    setup() {
      return {};
    },
  });
</script>