fixed #1612
This commit is contained in:
parent
5d2d2d6f7f
commit
1d83a8aaf8
2 changed files with 16 additions and 1 deletions
|
@ -8,6 +8,13 @@
|
|||
@on-cancel="cancel">
|
||||
<Button>删除</Button>
|
||||
</Poptip>
|
||||
<Poptip
|
||||
confirm
|
||||
title="您确认删除这条内容吗?"
|
||||
@on-ok="ok"
|
||||
@on-cancel="cancel">
|
||||
<Button>删除</Button>
|
||||
</Poptip>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
<transition name="fade">
|
||||
<div
|
||||
:class="[prefixCls + '-popper']"
|
||||
:class="popperClasses"
|
||||
:style="styles"
|
||||
ref="popper"
|
||||
v-show="visible"
|
||||
|
@ -114,6 +114,14 @@
|
|||
}
|
||||
];
|
||||
},
|
||||
popperClasses () {
|
||||
return [
|
||||
`${prefixCls}-popper`,
|
||||
{
|
||||
[`${prefixCls}-confirm`]: this.transfer && this.confirm
|
||||
}
|
||||
];
|
||||
},
|
||||
styles () {
|
||||
let style = {};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue