perf: improve modal and drawer component documentation and fix known problems (#4264)

* feat: improve modal and drawer component documentation and fix known problems

* chore: update ci
This commit is contained in:
Vben
2024-08-28 22:26:35 +08:00
committed by GitHub
parent 84816ef769
commit 36e7ca19a1
54 changed files with 882 additions and 176 deletions

View File

@@ -4,7 +4,7 @@ import { useVbenModal, VbenButton } from '@vben/common-ui';
import ExtraModal from './modal.vue';
const [Modal, modalApi] = useVbenModal({
// 接抽离的组件
// 接抽离的组件
connectedComponent: ExtraModal,
});
@@ -16,7 +16,6 @@ function openModal() {
<template>
<div>
<Modal />
<VbenButton @click="openModal">打开弹窗</VbenButton>
<VbenButton @click="openModal">Open</VbenButton>
</div>
</template>

View File

@@ -4,5 +4,5 @@ import { useVbenModal } from '@vben/common-ui';
const [Modal] = useVbenModal();
</script>
<template>
<Modal title="基础示例"> extra modal content </Modal>
<Modal title="组件抽离示例"> extra modal content </Modal>
</template>