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">
|
@on-cancel="cancel">
|
||||||
<Button>删除</Button>
|
<Button>删除</Button>
|
||||||
</Poptip>
|
</Poptip>
|
||||||
|
<Poptip
|
||||||
|
confirm
|
||||||
|
title="您确认删除这条内容吗?"
|
||||||
|
@on-ok="ok"
|
||||||
|
@on-cancel="cancel">
|
||||||
|
<Button>删除</Button>
|
||||||
|
</Poptip>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
<transition name="fade">
|
<transition name="fade">
|
||||||
<div
|
<div
|
||||||
:class="[prefixCls + '-popper']"
|
:class="popperClasses"
|
||||||
:style="styles"
|
:style="styles"
|
||||||
ref="popper"
|
ref="popper"
|
||||||
v-show="visible"
|
v-show="visible"
|
||||||
|
@ -114,6 +114,14 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
popperClasses () {
|
||||||
|
return [
|
||||||
|
`${prefixCls}-popper`,
|
||||||
|
{
|
||||||
|
[`${prefixCls}-confirm`]: this.transfer && this.confirm
|
||||||
|
}
|
||||||
|
];
|
||||||
|
},
|
||||||
styles () {
|
styles () {
|
||||||
let style = {};
|
let style = {};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue