Fixed unstyled config for BaseComponent

pull/4361/head
LanFeusT23 2023-08-30 14:08:41 -07:00 committed by GitHub
parent fe60480678
commit 6d256bb4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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