ps-toolkit-ui 1.14.65 → 1.14.67

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.
@@ -1811,6 +1811,11 @@
1811
1811
  }
1812
1812
  this.getClient(table.url, table.method, table.searchData(), function (res) {
1813
1813
  if (res.status === exports.ResultStatusEnum.Success) {
1814
+ if (table.vertical) {
1815
+ var c_1 = {};
1816
+ table.cols.forEach(function (x) { return c_1[x.name] = x.name; });
1817
+ res.result.List.unshift({ Data: c_1, Options: [] });
1818
+ }
1814
1819
  table.rows = res.result.List;
1815
1820
  table.count = res.result.Count;
1816
1821
  if (table.onLoad) {