diff --git a/src/api/iot/product/product/index.ts b/src/api/iot/product/product/index.ts index 0fa58d54..e9dfdcaf 100644 --- a/src/api/iot/product/product/index.ts +++ b/src/api/iot/product/product/index.ts @@ -17,6 +17,7 @@ export interface ProductVO { dataFormat: number // 数据格式 deviceCount: number // 设备数量 createTime: Date // 创建时间 + picUrl: string // 产品图片 URL } // IOT 数据校验级别枚举类 diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 5fcb73cd..335f5270 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -618,7 +618,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, children: [ { - path: 'product/detail/:id', + path: 'product/product/detail/:id', name: 'IoTProductDetail', meta: { title: '产品详情', diff --git a/src/views/iot/device/DeviceForm.vue b/src/views/iot/device/DeviceForm.vue index cb026012..95eff822 100644 --- a/src/views/iot/device/DeviceForm.vue +++ b/src/views/iot/device/DeviceForm.vue @@ -41,7 +41,7 @@