Poptip add prop popper-class, Table update

This commit is contained in:
梁灏 2018-03-21 10:59:23 +08:00
parent f13df74fef
commit 19c208d380
5 changed files with 32 additions and 88 deletions

View file

@ -97,6 +97,9 @@
transfer: {
type: Boolean,
default: false
},
popperClass: {
type: String
}
},
data () {
@ -120,7 +123,8 @@
return [
`${prefixCls}-popper`,
{
[`${prefixCls}-confirm`]: this.transfer && this.confirm
[`${prefixCls}-confirm`]: this.transfer && this.confirm,
[`${this.popperClass}`]: !!this.popperClass
}
];
},