mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:38:13 +00:00
fix: no paging of china regions
This commit is contained in:
parent
4f8cf13d1d
commit
ea0dd6e31a
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user