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
|
@@ -135,13 +135,13 @@ export default {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
try {
|
|
138
|
-
const {
|
|
138
|
+
const { data = [] } = await this.requestFn(params);
|
|
139
139
|
if (isInitial) {
|
|
140
|
-
this.branchBankList =
|
|
140
|
+
this.branchBankList = data;
|
|
141
141
|
} else {
|
|
142
|
-
this.branchBankList = this.branchBankList.concat(
|
|
142
|
+
this.branchBankList = this.branchBankList.concat(data);
|
|
143
143
|
}
|
|
144
|
-
this.page.hasMore =
|
|
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 {
|