umy-ui-table 1.2.2 → 1.2.3

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": "umy-ui-table",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "一个基于 vue 的 PC 端表格UI库,解决万级数据渲染卡顿问题,过万数据点击全选卡顿,等等问题",
5
5
  "author": {
6
6
  "name": "foriacus"
@@ -281,7 +281,7 @@ export default {
281
281
  const { propsData = {}, children } = vnode.componentOptions;
282
282
  const scopedSlots = (vnode.data && vnode.data.scopedSlots) || {};
283
283
  const column = Object.assign({}, propsData);
284
- const slotKeys = Object.keys(scopedSlots);
284
+ const slotKeys = Object.keys(scopedSlots).filter((k) => k.charAt(0) !== "$"); // 过滤 Vue 2 内部标记 $stable 等
285
285
  if (slotKeys.length) {
286
286
  column.slots = {};
287
287
  slotKeys.forEach((key) => {