mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
refactor(drawer): refactor props detailType to isDetail
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
<template>
|
||||
<BasicDrawer v-bind="$attrs" :drawerType="DrawerType.DETAIL" title="Drawer Title5">
|
||||
<BasicDrawer v-bind="$attrs" :isDetail="true" title="Drawer Title5">
|
||||
<p class="h-20">Content Message</p>
|
||||
</BasicDrawer>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { BasicDrawer, DrawerType } from '/@/components/Drawer';
|
||||
import { BasicDrawer } from '/@/components/Drawer';
|
||||
export default defineComponent({
|
||||
components: { BasicDrawer },
|
||||
setup() {
|
||||
return { DrawerType };
|
||||
},
|
||||
setup() {},
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user