Fixed #5593 - Hydration defects

This commit is contained in:
tugcekucukoglu 2024-04-16 12:35:02 +03:00
parent 8365a30f5b
commit 6615f31d8a
30 changed files with 120 additions and 151 deletions

View file

@ -560,11 +560,8 @@ export default {
};
},
watch: {
id: {
immediate: true,
handler: function (newValue) {
this.d_id = newValue || UniqueComponentId();
}
id: function (newValue) {
this.d_id = newValue || UniqueComponentId();
},
modelValue(newValue) {
this.updateCurrentMetaData();
@ -614,6 +611,7 @@ export default {
this.updateCurrentMetaData();
},
mounted() {
this.d_id = this.d_id || UniqueComponentId();
this.createResponsiveStyle();
this.bindMatchMediaListener();