创建modal一个组件
我们可以在components目录下面创建一个名为:SampleModal.vue的组件。
<script setup lang="ts">
const props = defineProps({
    isVisible:{
        required:true,
        type:Boolean,
        default:false
    },
    with:{
        type:String,
        default:'450px'
    },
    bgColor:{
        type:String,
        default:'#ffffff'
    },
    borderRadius:{
        type:String,
        defa












评论(0)