diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue index 80a8ba5b..1dfa798f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue @@ -143,13 +143,7 @@ export default { handler(bool) { if (!bool) return; - request({ - url: `business/device/functions/${this.deviceId}/${52}`, - method: "post", - params: { - _a: '-' - } - }) + request.post(`business/device/functions/${this.deviceId}/${52}`, {}) .then(async (result) => { if (result.code != 200) return;