Преглед на файлове

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