We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b80943d commit 9aaea8dCopy full SHA for 9aaea8d
src/virtual.js
@@ -75,8 +75,8 @@ export default class Virtual {
75
76
updateParam (key, value) {
77
if (this.param && (key in this.param)) {
78
- // if uniqueIds reducing, find out deleted id and remove from size map
79
- if (key === 'uniqueIds' && (value.length < this.param[key].length)) {
+ // if uniqueIds change, find out deleted id and remove from size map
+ if (key === 'uniqueIds') {
80
this.sizes.forEach((v, key) => {
81
if (!value.includes(key)) {
82
this.sizes.delete(key)
0 commit comments