Commit 147e7f9d authored by nick zheng's avatar nick zheng

chore: 弹窗支持自定义头部

parent 71e37ed0
...@@ -82,7 +82,8 @@ function handleConfirm() { ...@@ -82,7 +82,8 @@ function handleConfirm() {
@close="handleCloseModal" @close="handleCloseModal"
> >
<template #header> <template #header>
<div>{{ title }}</div> <slot v-if="slots.header" name="header" />
<div v-else>{{ title }}</div>
</template> </template>
<div> <div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment