fix: missing query
This commit is contained in:
parent
a5a4e4018f
commit
edf2a5121f
1 changed files with 2 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ const useBranchStore = defineStore('api-branch', () => {
|
||||||
if (opts?.page && opts.page > 0) params.append('page', `${opts.page}`);
|
if (opts?.page && opts.page > 0) params.append('page', `${opts.page}`);
|
||||||
if (opts?.zipCode) params.append('zipCode', opts.zipCode);
|
if (opts?.zipCode) params.append('zipCode', opts.zipCode);
|
||||||
if (opts?.query) params.append('query', opts.query);
|
if (opts?.query) params.append('query', opts.query);
|
||||||
|
if (opts?.filter) params.append('filter', opts.filter);
|
||||||
if (opts?.tree) params.append('tree', 'true');
|
if (opts?.tree) params.append('tree', 'true');
|
||||||
|
|
||||||
const query = params.toString();
|
const query = params.toString();
|
||||||
|
|
@ -239,7 +240,7 @@ const useBranchStore = defineStore('api-branch', () => {
|
||||||
'X-Rtid': flow?.refTransactionId,
|
'X-Rtid': flow?.refTransactionId,
|
||||||
'X-Tid': flow?.transactionId,
|
'X-Tid': flow?.transactionId,
|
||||||
},
|
},
|
||||||
data: userType
|
data: userType,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!res) return false;
|
if (!res) return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue