Commit a52f8000 authored by ly303550688's avatar ly303550688 Committed by 杨奕

Dialog: add showClose

parent c4ad7f23
......@@ -9,7 +9,7 @@
<div class="el-dialog__header">
<span class="el-dialog__title">{{title}}</span>
<div class="el-dialog__headerbtn">
<i class="el-dialog__close el-icon el-icon-close" @click='close()'></i>
<i v-if="showClose" class="el-dialog__close el-icon el-icon-close" @click='close()'></i>
</div>
</div>
<div class="el-dialog__body" v-if="rendered"><slot></slot></div>
......@@ -55,6 +55,11 @@
default: true
},
showClose: {
type: Boolean,
default: true
},
size: {
type: String,
default: 'small'
......
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