2024-08-27 23:22:34 +08:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { useVbenModal, VbenButton } from '@vben/common-ui';
|
|
|
|
|
|
|
|
const [Modal, modalApi] = useVbenModal();
|
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<div>
|
2024-08-28 22:26:35 +08:00
|
|
|
<VbenButton @click="() => modalApi.open()">Open</VbenButton>
|
|
|
|
<Modal class="w-[600px]" title="基础示例"> modal content </Modal>
|
2024-08-27 23:22:34 +08:00
|
|
|
</div>
|
|
|
|
</template>
|