export const dialogProps = { visible: Boolean, // 是否可见 closable: { type: Boolean, // 参数类型 default: true, //默认值 required: false, //是否必传 }, // 是否可关闭 drag: { type: Boolean, // 参数类型 default: true, //默认值 required: false, //是否必传 }, // 拖拽 appendBody: Boolean, // 追加到body full: { type: Boolean, // 参数类型 default: true, //默认值 required: false, //是否必传 }, // 全屏 width: String, // 宽度 height: String, // 高度 title: String, // 标题 beforeClose: Function, } as const export const dialogEmits = { close: (evt: MouseEvent) => evt instanceof MouseEvent }