Commit e641494fdf930bdff4690d8bff54e6ed672a5820

Authored by ww
1 parent 08af1690

perf: 修复任务中心运行任务接口参数拼接到地址上

Showing 1 changed file with 4 additions and 7 deletions
@@ -81,11 +81,8 @@ export const genModbusCommand = (data: GenModbusCommandType) => { @@ -81,11 +81,8 @@ export const genModbusCommand = (data: GenModbusCommandType) => {
81 }; 81 };
82 82
83 export const immediateExecute = (data: ImmediateExecuteTaskType) => { 83 export const immediateExecute = (data: ImmediateExecuteTaskType) => {
84 - return defHttp.post<Record<'data', boolean>>(  
85 - {  
86 - url: Api.IMMEDIATE_EXECUTE,  
87 - params: data,  
88 - },  
89 - { joinParamsToUrl: true }  
90 - ); 84 + return defHttp.post<Record<'data', boolean>>({
  85 + url: Api.IMMEDIATE_EXECUTE,
  86 + params: data,
  87 + });
91 }; 88 };