Fixed #4322 - PassThrough: component option improvements

pull/4343/head
Tuğçe Küçükoğlu 2023-08-22 16:51:41 +03:00
parent 106565fd85
commit f000abc35c
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ export default {
return this._getPT(this.$config?.pt, undefined, (value) => ObjectUtils.getItemValue(value, { instance: this }));
},
defaultPT() {
return this._getPT(this.$config?.pt, undefined, (value) => this._getOptionValue(value, this.$name, { instance: this }) || ObjectUtils.getItemValue(value, { instance: this }));
return this._getPT(this.$config?.pt, undefined, (value) => this._getOptionValue(value, this.$name, { ...this.$params }) || ObjectUtils.getItemValue(value, { ...this.$params }));
},
isUnstyled() {
return this.unstyled !== undefined ? this.unstyled : this.$config.unstyled;