return clean attribute selector when in node environments
parent
180c921c89
commit
984dcd9bca
|
@ -70,7 +70,7 @@ export default {
|
||||||
const valueInConfig = _useptInConfig ? this.$primevue?.config?.pt?.value : this.$primevue?.config?.pt;
|
const valueInConfig = _useptInConfig ? this.$primevue?.config?.pt?.value : this.$primevue?.config?.pt;
|
||||||
|
|
||||||
(valueInConfig || originalValueInConfig)?.[this.$.type.name]?.hooks?.['onBeforeCreate']?.();
|
(valueInConfig || originalValueInConfig)?.[this.$.type.name]?.hooks?.['onBeforeCreate']?.();
|
||||||
this.$attrSelector = uuid('pc');
|
this.$attrSelector = typeof process === "object" ? 'pc' : uuid('pc');
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this._hook('onCreated');
|
this._hook('onCreated');
|
||||||
|
|
Loading…
Reference in New Issue