vxe-table 3.24.0-beta.1 → 3.24.0

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.
@@ -1486,7 +1486,7 @@ export default {
1486
1486
  XEUtils.eachTree(columns, column => {
1487
1487
  if (column.slots) {
1488
1488
  XEUtils.each(column.slots, (func) => {
1489
- if (!XEUtils.isFunction(func)) {
1489
+ if (func && !XEUtils.isFunction(func)) {
1490
1490
  if (!slots[func]) {
1491
1491
  errLog('vxe.error.notSlot', [func]);
1492
1492
  }
@@ -1608,7 +1608,7 @@ export default {
1608
1608
  // 处理插槽
1609
1609
  formOpts.items.forEach((item) => {
1610
1610
  XEUtils.each(item.slots, (func) => {
1611
- if (!XEUtils.isFunction(func)) {
1611
+ if (func && !XEUtils.isFunction(func)) {
1612
1612
  if (slots[func]) {
1613
1613
  formSlots[func] = slots[func];
1614
1614
  }