|
|
@ -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(`设备操作失败!`); |
|
|
|
|
|
|
|