From 71b151fa50cb5223bde7d700e9bc3895a16308c2 Mon Sep 17 00:00:00 2001 From: Joe <1712833832@qq.com> Date: Thu, 18 Jan 2024 21:02:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DrivingGuidance/components/DeviceControlDialog.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 3ca49c4d..8aa32fd7 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 @@ -201,11 +201,7 @@ export default { * * https://www.showdoc.com.cn/2450725213006196/10877717880262686 */ - request({ - url: `business/device/functions/${this.deviceId}/${functionId}`, - method: "post", - params: result, - }) + request.post(`business/device/functions/${this.deviceId}/${functionId}`, result) .then((result) => { if (result.code != 200) return Message.error(`设备操作失败!`);