vxe-table 3.18.13 → 3.18.14

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.
@@ -713,7 +713,7 @@ export default {
713
713
  });
714
714
  }
715
715
  else {
716
- errLog('vxe.error.notFunc', ['proxy-config.ajax.query']);
716
+ errLog('vxe.error.notFunc', ['[grid] proxy-config.ajax.query']);
717
717
  }
718
718
  break;
719
719
  }
@@ -791,7 +791,7 @@ export default {
791
791
  }
792
792
  }
793
793
  else {
794
- errLog('vxe.error.notFunc', ['proxy-config.ajax.delete']);
794
+ errLog('vxe.error.notFunc', ['[grid] proxy-config.ajax.delete']);
795
795
  }
796
796
  break;
797
797
  }
@@ -882,7 +882,7 @@ export default {
882
882
  });
883
883
  }
884
884
  else {
885
- errLog('vxe.error.notFunc', ['proxy-config.ajax.save']);
885
+ errLog('vxe.error.notFunc', ['[grid] proxy-config.ajax.save']);
886
886
  }
887
887
  break;
888
888
  }
@@ -894,7 +894,7 @@ export default {
894
894
  tCommandMethod({ code, button, $grid: $xeGrid, $table: $xeTable, $gantt: null }, ...args);
895
895
  }
896
896
  else {
897
- errLog('vxe.error.notCommands', [code]);
897
+ errLog('vxe.error.notCommands', [`[grid] ${code}`]);
898
898
  }
899
899
  }
900
900
  }
@@ -1225,7 +1225,7 @@ export default {
1225
1225
  XEUtils.each(column.slots, (func) => {
1226
1226
  if (!XEUtils.isFunction(func)) {
1227
1227
  if (!slots[func]) {
1228
- errLog('vxe.error.notSlot', [func]);
1228
+ errLog('vxe.error.notSlot', [`[grid] ${func}`]);
1229
1229
  }
1230
1230
  }
1231
1231
  });
@@ -1249,7 +1249,7 @@ export default {
1249
1249
  slotConf[slotKey] = slots[slotFunc];
1250
1250
  }
1251
1251
  else {
1252
- errLog('vxe.error.notSlot', [slotFunc]);
1252
+ errLog('vxe.error.notSlot', [`[grid] ${slotFunc}`]);
1253
1253
  }
1254
1254
  }
1255
1255
  else {
@@ -1266,10 +1266,10 @@ export default {
1266
1266
  const toolbarOptSlots = toolbarOpts.slots;
1267
1267
  const toolbarSlots = {};
1268
1268
  if (slots.buttons && (!toolbarOptSlots || toolbarOptSlots.buttons !== 'buttons')) {
1269
- warnLog('vxe.error.reqProp', ['toolbar-config.slots.buttons']);
1269
+ warnLog('vxe.error.reqProp', ['[grid] toolbar-config.slots.buttons']);
1270
1270
  }
1271
1271
  if (slots.tools && (!toolbarOptSlots || toolbarOptSlots.tools !== 'tools')) {
1272
- warnLog('vxe.error.reqProp', ['toolbar-config.slots.tools']);
1272
+ warnLog('vxe.error.reqProp', ['[grid] toolbar-config.slots.tools']);
1273
1273
  }
1274
1274
  if (toolbarOptSlots) {
1275
1275
  const buttonsSlot = $xeGrid.getFuncSlot(toolbarOptSlots, 'buttons');
@@ -1309,7 +1309,7 @@ export default {
1309
1309
  return slots[funcSlot];
1310
1310
  }
1311
1311
  else {
1312
- errLog('vxe.error.notSlot', [funcSlot]);
1312
+ errLog('vxe.error.notSlot', [`[grid] ${funcSlot}`]);
1313
1313
  }
1314
1314
  }
1315
1315
  else {
@@ -1536,7 +1536,7 @@ export default {
1536
1536
  childVNs.push($xeGrid.renderPager(h));
1537
1537
  break;
1538
1538
  default:
1539
- errLog('vxe.error.notProp', [`layouts -> ${key}`]);
1539
+ errLog('vxe.error.notProp', [`[grid] layouts -> ${key}`]);
1540
1540
  break;
1541
1541
  }
1542
1542
  });
@@ -1603,16 +1603,16 @@ export default {
1603
1603
  const proxyOpts = $xeGrid.computeProxyOpts;
1604
1604
  // const { data, formOpts, proxyOpts, proxyConfig } = this
1605
1605
  // if (proxyConfig && (data || (proxyOpts.form && formOpts.data))) {
1606
- // errLog('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config'])
1606
+ // errLog('vxe.error.errConflicts', ['[grid] data', 'proxy-config'])
1607
1607
  // }
1608
1608
  if (props.toolbar) {
1609
- errLog('vxe.error.delProp', ['grid.toolbar', 'grid.toolbar-config']);
1609
+ errLog('vxe.error.delProp', ['[grid] toolbar', 'toolbar-config']);
1610
1610
  }
1611
1611
  if (props.toolbarConfig && !XEUtils.isObject(props.toolbarConfig)) {
1612
- errLog('vxe.error.errProp', [`grid.toolbar-config=${props.toolbarConfig}`, 'grid.toolbar-config={}']);
1612
+ errLog('vxe.error.errProp', [`[grid] toolbar-config=${props.toolbarConfig}`, 'toolbar-config={}']);
1613
1613
  }
1614
1614
  if (proxyOpts.props) {
1615
- warnLog('vxe.error.delProp', ['proxy-config.props', 'proxy-config.response']);
1615
+ warnLog('vxe.error.delProp', ['[grid] proxy-config.props', 'proxy-config.response']);
1616
1616
  }
1617
1617
  $xeGrid.$nextTick(() => {
1618
1618
  if (props.formConfig) {