소스 검색

[Fix 0000] 可配置首页配置无法读取

houzekong 10 달 전
부모
커밋
1c235a626f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/vent/deviceManager/configurationTable/configuration.api.ts

+ 1 - 1
src/views/vent/deviceManager/configurationTable/configuration.api.ts

@@ -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);
     });