diff --git a/src/api/hardware/device.js b/src/api/hardware/device.js index ed3683d..29e0e95 100644 --- a/src/api/hardware/device.js +++ b/src/api/hardware/device.js @@ -11,7 +11,7 @@ export function list(params) { // 查询设备详细 -export function Info(deviceId) { +export function info(deviceId) { return request({ url: '/system/device/' + deviceId, method: 'get' diff --git a/src/views/hardware/deviceList/index.vue b/src/views/hardware/deviceList/index.vue index f95a670..afc7fa8 100644 --- a/src/views/hardware/deviceList/index.vue +++ b/src/views/hardware/deviceList/index.vue @@ -114,7 +114,7 @@ import Region from "@/components/Region"; import { list, - Info, + info, add, update, del,