Skip to content

Commit 2ab3b9c

Browse files
committed
【代码评审】IoT:物模型的管理
1 parent 9581ecd commit 2ab3b9c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/router/modules/remaining.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
648648
title: '产品详情',
649649
noCache: true,
650650
hidden: true,
651-
activeMenu: '/iot/product'
651+
activeMenu: '/iot/device/product'
652652
},
653653
component: () => import('@/views/iot/product/product/detail/index.vue')
654654
},

src/views/iot/thingmodel/dataSpecs/ThingModelArrayDataSpecs.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<el-radio-group v-model="dataSpecs.childDataType" @change="handleChange">
55
<template v-for="item in dataTypeOptions" :key="item.value">
66
<el-radio
7+
class="w-1/3"
78
v-if="
89
!(
910
[DataSpecsDataType.ENUM, DataSpecsDataType.ARRAY, DataSpecsDataType.DATE] as any[]

src/views/iot/thingmodel/dataSpecs/ThingModelStructDataSpecs.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
:rules="[{ required: true, validator: validateList, trigger: 'change' }]"
66
label="JSON 对象"
77
>
8+
<!-- TODO @puhui999:编辑已经添加的结构体,里面的参数加不上 -->
89
<div
910
v-for="(item, index) in dataSpecsList"
1011
:key="index"

0 commit comments

Comments
 (0)