react-toolkits 2.14.5 → 2.14.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.14.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 72304a9: fix(operationLogList): 修复数据获取时可能存在的未定义错误
8
+
3
9
  ## 2.14.5
4
10
 
5
11
  ### Patch Changes
package/lib/index.js CHANGED
@@ -3561,8 +3561,8 @@ var OperationLogList = () => {
3561
3561
  columns,
3562
3562
  tableLayout: "fixed",
3563
3563
  url: "/api/usystem/log/list",
3564
- getTotal: (data) => data?.data.Total,
3565
- getDataSource: (data) => data?.data.List,
3564
+ getTotal: (data) => data?.data?.Total,
3565
+ getDataSource: (data) => data?.data?.List,
3566
3566
  renderForm: (form) => /* @__PURE__ */ jsxs(Form, { form, layout: "inline", children: [
3567
3567
  /* @__PURE__ */ jsx(Form.Item, { label: t("global.username"), name: "uname", children: /* @__PURE__ */ jsx(Input, { allowClear: true }) }),
3568
3568
  /* @__PURE__ */ jsx(Form.Item, { label: t("global.route"), name: "route", children: /* @__PURE__ */ jsx(Input, { allowClear: true }) }),