【代码评审】IoT:物模型的管理

This commit is contained in:
YunaiV 2025-01-28 22:29:54 +08:00
parent 9581ecd7c7
commit 2ab3b9ccd7
3 changed files with 3 additions and 1 deletions

View File

@ -648,7 +648,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
title: '产品详情',
noCache: true,
hidden: true,
activeMenu: '/iot/product'
activeMenu: '/iot/device/product'
},
component: () => import('@/views/iot/product/product/detail/index.vue')
},

View File

@ -4,6 +4,7 @@
<el-radio-group v-model="dataSpecs.childDataType" @change="handleChange">
<template v-for="item in dataTypeOptions" :key="item.value">
<el-radio
class="w-1/3"
v-if="
!(
[DataSpecsDataType.ENUM, DataSpecsDataType.ARRAY, DataSpecsDataType.DATE] as any[]

View File

@ -5,6 +5,7 @@
:rules="[{ required: true, validator: validateList, trigger: 'change' }]"
label="JSON 对象"
>
<!-- TODO @puhui999编辑已经添加的结构体里面的参数加不上 -->
<div
v-for="(item, index) in dataSpecsList"
:key="index"