@gingkoo/base-server 0.4.17 → 0.4.18

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.
@@ -354,11 +354,24 @@ class BaseXML {
354
354
  // 表格列信息
355
355
  let columns = (Array.isArray(TableBody?.column?.array) ? TableBody.column.array : []).map(
356
356
  (item) => {
357
- let { id, label, components, width, toggled, fixed, sortable, filterable, showValue } =
358
- item.attributes();
357
+ let {
358
+ id,
359
+ label,
360
+ components,
361
+ width,
362
+ toggled,
363
+ fixed,
364
+ sortable,
365
+ filterable,
366
+ showValue,
367
+ icon,
368
+ } = item.attributes();
359
369
  let column = {
360
370
  name: id,
361
371
  };
372
+ if (icon) {
373
+ column.icon = icon;
374
+ }
362
375
  if (label) {
363
376
  column.label = label;
364
377
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/base-server",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "",
5
5
  "main": "app.js",
6
6
  "scripts": {