@yoooloo42/joker 1.0.137 → 1.0.138

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/dist/index.cjs.js CHANGED
@@ -41445,7 +41445,7 @@ const hdl = {
41445
41445
  getKeys(p) {
41446
41446
  let a = [];
41447
41447
  p.forEach(i => {
41448
- a.push(i.key);
41448
+ a.push(i.fieldName);
41449
41449
  });
41450
41450
  return a
41451
41451
  },
@@ -41475,7 +41475,7 @@ const hdl = {
41475
41475
  tableProps_box.table.cols = [];
41476
41476
  itemsChecked.forEach(i => {
41477
41477
  tableProps_box.table.cols.push(tableProps_box.table.pickCol.colsInit.find(j => {
41478
- return j.key === i
41478
+ return j.fieldName === i
41479
41479
  }));
41480
41480
  });
41481
41481
  tableProps_box.table.pickCol.popup.visible = false;
@@ -41533,8 +41533,8 @@ return (_ctx, _cache) => {
41533
41533
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(tableProps_box).table.pickCol.colsInit, (item) => {
41534
41534
  return (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
41535
41535
  style: {"display":"block","margin-bottom":"10px"},
41536
- label: item ? item.key : '',
41537
- key: item ? item.key : ''
41536
+ label: item ? item.fieldName : '',
41537
+ key: item ? item.fieldName : ''
41538
41538
  }, {
41539
41539
  default: vue.withCtx(() => [
41540
41540
  vue.createTextVNode(vue.toDisplayString(item ? item.label : ''), 1 /* TEXT */)