From 6d256bb4e098b175e411d98f98a974d200f046f3 Mon Sep 17 00:00:00 2001 From: LanFeusT23 Date: Wed, 30 Aug 2023 14:08:41 -0700 Subject: [PATCH] Fixed unstyled config for BaseComponent --- components/lib/basecomponent/BaseComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index fa6ec8589..d9ad7e7d7 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -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 })); }, isUnstyled() { - return this.unstyled !== undefined ? this.unstyled : this.$config.unstyled; + return this.unstyled !== undefined ? this.unstyled : this.$config?.unstyled; }, $params() { return { instance: this, props: this.$props, state: this.$data, parentInstance: this.$parentInstance };