fix: no paging of china regions

This commit is contained in:
chenos 2022-04-24 16:15:38 +08:00
parent 4f8cf13d1d
commit ea0dd6e31a

View File

@ -13,6 +13,7 @@ const useChinaRegionDataSource = (options) => {
action: 'list',
params: {
sort: 'code',
paginate: false,
filter: {
level: 1,
},
@ -49,6 +50,7 @@ const useChinaRegionLoadData = () => {
.resource('chinaRegions')
.list({
sort: 'code',
paginate: false,
filter: {
parentCode: targetOption.code,
},