refactor(composables): update API query params and improve code style
- Standardize parameter naming with hyphens instead of underscores - Remove page size limit and enable no-limit flag for all region queries - Improve arrow function syntax consistency and formatting
This commit is contained in:
No files matched your search
@@ -74,9 +74,9 @@ export function useRegencies(provinceCode: Ref<string | undefined> | string | un
|
||||
|
||||
try {
|
||||
const response = await regencyService.getList({
|
||||
'page-size': '50',
|
||||
sort: 'name:asc',
|
||||
province_code: code,
|
||||
'page-no-limit': true,
|
||||
'province-code': code,
|
||||
})
|
||||
|
||||
if (response.success) {
|
||||
|
||||
Reference in New Issue
Block a user