mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #5593 - Hydration defects
This commit is contained in:
parent
8365a30f5b
commit
6615f31d8a
30 changed files with 120 additions and 151 deletions
|
@ -78,14 +78,13 @@ export default {
|
|||
};
|
||||
},
|
||||
watch: {
|
||||
'$attrs.id': {
|
||||
immediate: true,
|
||||
handler: function (newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
}
|
||||
'$attrs.id': function (newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.id = this.id || UniqueComponentId();
|
||||
|
||||
this.$watch('$refs.menu.visible', (newValue) => {
|
||||
this.isExpanded = newValue;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue