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