mooho-base-admin-plus 2.8.2 → 2.8.3

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/history.md CHANGED
@@ -143,3 +143,4 @@ mooho-base-admin-plus@2.7.7 - 增加自定义显示格式
143
143
  mooho-base-admin-plus@2.8.0 - 表格增加只返回所需字段的选项
144
144
  mooho-base-admin-plus@2.8.1 - 表格增加必须返回的字段属性
145
145
  mooho-base-admin-plus@2.8.2 - 优化树结构显示方式
146
+ mooho-base-admin-plus@2.8.3 - 修复只返回所需字段的bug
@@ -41081,7 +41081,12 @@ const _sfc_main$n = {
41081
41081
  orderBy: this.orderBy
41082
41082
  };
41083
41083
  if (this.tableView.isGroupBy && (a.isGroupBy = !0, a.groupColumn = JSON.parse(this.tableView.groupColumn), a.groupMethod = JSON.parse(this.tableView.groupMethod)), this.tableView.isCustom) {
41084
- let o = await customModelApi.query(this.tableView.model, a, this.returnColumns, this.tableView.isReturnSimple ? this.tableView : null);
41084
+ let o = await customModelApi.query(
41085
+ this.tableView.model,
41086
+ a,
41087
+ this.tableView.isReturnSimple ? this.returnColumns : null,
41088
+ this.tableView.isReturnSimple ? this.tableView : null
41089
+ );
41085
41090
  this.total = o.totalCount, this.data = o.data;
41086
41091
  } else if (this.tableView.isDataSource) {
41087
41092
  let o = await dataSourceApi.query(this.tableView.dataSource, a);
@@ -41090,7 +41095,7 @@ const _sfc_main$n = {
41090
41095
  let o = await modelApi.query(
41091
41096
  this.tableView.model,
41092
41097
  a,
41093
- this.returnColumns,
41098
+ this.tableView.isReturnSimple ? this.returnColumns : null,
41094
41099
  this.tableView.isReturnSimple ? this.tableView : null,
41095
41100
  this.tableView.functionName,
41096
41101
  this.tableView.functionType
@@ -42561,7 +42566,7 @@ function _sfc_render$n(r, a, o, s, l, u) {
42561
42566
  ], 2)
42562
42567
  ], 2);
42563
42568
  }
42564
- const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-b814884b"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42569
+ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-887433c2"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42565
42570
  __proto__: null,
42566
42571
  default: viewTable
42567
42572
  }, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {