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