fix: no paging of china regions
This commit is contained in:
parent
4f8cf13d1d
commit
ea0dd6e31a
@ -13,6 +13,7 @@ const useChinaRegionDataSource = (options) => {
|
|||||||
action: 'list',
|
action: 'list',
|
||||||
params: {
|
params: {
|
||||||
sort: 'code',
|
sort: 'code',
|
||||||
|
paginate: false,
|
||||||
filter: {
|
filter: {
|
||||||
level: 1,
|
level: 1,
|
||||||
},
|
},
|
||||||
@ -49,6 +50,7 @@ const useChinaRegionLoadData = () => {
|
|||||||
.resource('chinaRegions')
|
.resource('chinaRegions')
|
||||||
.list({
|
.list({
|
||||||
sort: 'code',
|
sort: 'code',
|
||||||
|
paginate: false,
|
||||||
filter: {
|
filter: {
|
||||||
parentCode: targetOption.code,
|
parentCode: targetOption.code,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user