Poptip add prop transfer-class-name
This commit is contained in:
parent
d239b5a43f
commit
6f7dc71800
1 changed files with 6 additions and 1 deletions
|
@ -123,6 +123,9 @@
|
||||||
default () {
|
default () {
|
||||||
return !this.$IVIEW ? false : this.$IVIEW.capture;
|
return !this.$IVIEW ? false : this.$IVIEW.capture;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
transferClassName: {
|
||||||
|
type: String
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
@ -148,7 +151,9 @@
|
||||||
`${prefixCls}-popper`,
|
`${prefixCls}-popper`,
|
||||||
{
|
{
|
||||||
[`${prefixCls}-confirm`]: this.transfer && this.confirm,
|
[`${prefixCls}-confirm`]: this.transfer && this.confirm,
|
||||||
[`${this.popperClass}`]: !!this.popperClass
|
[`${this.popperClass}`]: !!this.popperClass,
|
||||||
|
[prefixCls + '-transfer']: this.transfer,
|
||||||
|
[this.transferClassName]: this.transferClassName
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue