Refactor #6986
parent
4852576beb
commit
b6c7b434b1
|
@ -92,9 +92,11 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
items: {
|
items: {
|
||||||
handler(newValue) {
|
handler(newValue, oldValue) {
|
||||||
this.init();
|
if (!oldValue || oldValue.length !== (newValue || []).length) {
|
||||||
this.calculateAutoSize();
|
this.init();
|
||||||
|
this.calculateAutoSize();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue