diff --git a/src/api/system/basedata/SysDictTypeApi.ts b/src/api/system/basedata/SysDictTypeApi.ts index 716fbfdba0a241e560e0f17c2b3ec2027e2722b9..d8519dab0a0d87a650892e8f957a84269b27ef45 100644 --- a/src/api/system/basedata/SysDictTypeApi.ts +++ b/src/api/system/basedata/SysDictTypeApi.ts @@ -69,8 +69,8 @@ export class SysDictTypeApi { * @author fengshuonan * @date 2021/4/19 22:42 */ - static getDictListByParams() { - return defHttp.get({ url: '/dict/list' }); + static getDictListByParams(params: DictTypeRequest) { + return defHttp.get({ url: '/dict/list', params }); } /** diff --git a/src/components/DictSelect/DictSelect.vue b/src/components/DictSelect/DictSelect.vue index cf0030146ca1e7e6a43cb8bce284ce5c4bb46d16..2246425ecddf37a0eac4e214404b5a5b4cd6485a 100644 --- a/src/components/DictSelect/DictSelect.vue +++ b/src/components/DictSelect/DictSelect.vue @@ -5,7 +5,7 @@