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 };