t20-common-lib 0.9.0 → 0.9.1

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": "t20-common-lib",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -135,13 +135,13 @@ export default {
135
135
  }
136
136
 
137
137
  try {
138
- const { list = [] } = await this.requestFn(params);
138
+ const { data = [] } = await this.requestFn(params);
139
139
  if (isInitial) {
140
- this.branchBankList = list;
140
+ this.branchBankList = data;
141
141
  } else {
142
- this.branchBankList = this.branchBankList.concat(list);
142
+ this.branchBankList = this.branchBankList.concat(data);
143
143
  }
144
- this.page.hasMore = list.length === this.page.size;
144
+ this.page.hasMore = data.length === this.page.size;
145
145
  } catch (error) {
146
146
  console.error("Failed to fetch branch data:", error);
147
147
  } finally {