wkjp-list-page 1.0.47 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wkjp-list-page",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Vue2 + ElementUI CommonListPage component",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -289,7 +289,7 @@
289
289
  class="column-config-panel__switch"
290
290
  :value="configColumns[idx]._visible !== false"
291
291
  :disabled="isFixedColumn(configColumns[idx])"
292
- @input="(val) => setColumnVisible(idx, val)"
292
+ @input="(val) => $nextTick(() => setColumnVisible(idx, val))"
293
293
  />
294
294
  </li>
295
295
  </ul>
@@ -308,7 +308,7 @@
308
308
  <span class="column-config-panel__label">{{ columnConfigLabel(configColumns[idx]) }}</span>
309
309
  <el-switch
310
310
  :value="configColumns[idx]._visible !== false"
311
- @input="(val) => setColumnVisible(idx, val)"
311
+ @input="(val) => $nextTick(() => setColumnVisible(idx, val))"
312
312
  />
313
313
  </li>
314
314
  </ul>