Skip to content

Commit 057e8e1

Browse files
Merge pull request #8154 from FeBe95/patch-1
fix: Fix reactivity when base editable holder model value is an array
2 parents 4e3de27 + c7d37f9 commit 057e8e1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/core/src/baseeditableholder/BaseEditableHolder.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ export default {
4949
};
5050
},
5151
watch: {
52-
modelValue(newValue) {
53-
this.d_value = newValue;
52+
modelValue: {
53+
deep: true,
54+
handler(newValue) {
55+
this.d_value = newValue;
56+
}
5457
},
5558
defaultValue(newValue) {
5659
this.d_value = newValue;

0 commit comments

Comments
 (0)