mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5593 - Hydration defects
This commit is contained in:
parent
8365a30f5b
commit
6615f31d8a
30 changed files with 120 additions and 151 deletions
|
@ -106,13 +106,13 @@ export default {
|
|||
};
|
||||
},
|
||||
watch: {
|
||||
menuId: {
|
||||
immediate: true,
|
||||
handler(newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
}
|
||||
menuId(newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.id = this.id || UniqueComponentId();
|
||||
},
|
||||
methods: {
|
||||
getItemId(index) {
|
||||
return `${this.id}_${index}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue