|
@@ -15,7 +15,7 @@ enum Api {
|
|
|
* @param params
|
|
|
*/
|
|
|
export function list(params: any): Promise<{ records: Config[] }> {
|
|
|
- return defHttp.post({ url: Api.list, params: _.omitBy(params, _.isNil) }).then((result) => {
|
|
|
+ return defHttp.post({ url: Api.list, params: _.omitBy(params, _.isNil) }, { joinParamsToUrl: true }).then((result) => {
|
|
|
result.records.forEach((item) => {
|
|
|
parseModuleData(item);
|
|
|
});
|