mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
markRaw updates
This commit is contained in:
parent
848d0337db
commit
a745ec7d43
11 changed files with 80 additions and 72 deletions
|
@ -21,12 +21,10 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
components() {
|
||||
return this.templateData.components.map((component) => {
|
||||
return {
|
||||
...component,
|
||||
name: markRaw(component.name)
|
||||
};
|
||||
});
|
||||
return this.templateData?.components?.map(({ name, ...rest }) => ({
|
||||
...rest,
|
||||
name
|
||||
}));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue