forward
This commit is contained in:
parent
ec7bc02abf
commit
1ce5746303
1 changed files with 12 additions and 7 deletions
|
@ -104,6 +104,9 @@
|
||||||
popperClass: {
|
popperClass: {
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
|
popperStyle: {
|
||||||
|
type: String
|
||||||
|
},
|
||||||
wordWrap: {
|
wordWrap: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
@ -163,15 +166,17 @@
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
styles () {
|
styles () {
|
||||||
let style = {};
|
const style = [];
|
||||||
|
|
||||||
if (this.width) {
|
if (this.width) {
|
||||||
style.width = `${this.width}px`;
|
style.push(`width: ${this.width}px`);
|
||||||
}
|
}
|
||||||
|
if (this.transfer) {
|
||||||
if (this.transfer) style['z-index'] = 1060 + this.tIndex;
|
style.push(`z-index: ${1060 + this.tIndex}`);
|
||||||
|
}
|
||||||
return style;
|
if (this.popperStyle) {
|
||||||
|
style.push(this.popperStyle);
|
||||||
|
}
|
||||||
|
return style.join(';');
|
||||||
},
|
},
|
||||||
localeOkText () {
|
localeOkText () {
|
||||||
if (this.okText === undefined) {
|
if (this.okText === undefined) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue