diff --git a/src/stores/branch/index.ts b/src/stores/branch/index.ts index 0c00ed0d..fedf3cb5 100644 --- a/src/stores/branch/index.ts +++ b/src/stores/branch/index.ts @@ -30,6 +30,7 @@ const useBranchStore = defineStore('api-branch', () => { if (opts?.page && opts.page > 0) params.append('page', `${opts.page}`); if (opts?.zipCode) params.append('zipCode', opts.zipCode); if (opts?.query) params.append('query', opts.query); + if (opts?.filter) params.append('filter', opts.filter); if (opts?.tree) params.append('tree', 'true'); const query = params.toString(); @@ -239,7 +240,7 @@ const useBranchStore = defineStore('api-branch', () => { 'X-Rtid': flow?.refTransactionId, 'X-Tid': flow?.transactionId, }, - data: userType + data: userType, }); if (!res) return false;