一个 vue3 对话框组件
npm install @tomoeed/vue-dialog --save
<template>
<Dialog v-model="status">
<Header>Title</Header>
<Body>...</Body>
</Dialog>
</template>
<script setup>
import { ref } from 'vue';
import { Dialog, Header, Body } from '@tomoeed/vue-dialog';
const status = ref(false);
</script>