@hzab/list-render 1.9.2-beta3 → 1.9.2-beta4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzab/list-render",
3
- "version": "1.9.2-beta3",
3
+ "version": "1.9.2-beta4",
4
4
  "description": "",
5
5
  "main": "src",
6
6
  "scripts": {
@@ -152,8 +152,8 @@ const ListRender = forwardRef(function (props, parentRef) {
152
152
  setListLoading(false);
153
153
  })
154
154
  .catch((err) => {
155
- if (axios.isCancel(error)) {
156
- console.log("请求已取消:", error.message);
155
+ if (axios.isCancel(err)) {
156
+ console.log("请求已取消:", err.message);
157
157
  return;
158
158
  }
159
159
  console.error(err);