mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-09 00:42:42 +08:00
【代码评审】IoT:物模型的管理
This commit is contained in:
parent
9581ecd7c7
commit
2ab3b9ccd7
@ -648,7 +648,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||||||
title: '产品详情',
|
title: '产品详情',
|
||||||
noCache: true,
|
noCache: true,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
activeMenu: '/iot/product'
|
activeMenu: '/iot/device/product'
|
||||||
},
|
},
|
||||||
component: () => import('@/views/iot/product/product/detail/index.vue')
|
component: () => import('@/views/iot/product/product/detail/index.vue')
|
||||||
},
|
},
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<el-radio-group v-model="dataSpecs.childDataType" @change="handleChange">
|
<el-radio-group v-model="dataSpecs.childDataType" @change="handleChange">
|
||||||
<template v-for="item in dataTypeOptions" :key="item.value">
|
<template v-for="item in dataTypeOptions" :key="item.value">
|
||||||
<el-radio
|
<el-radio
|
||||||
|
class="w-1/3"
|
||||||
v-if="
|
v-if="
|
||||||
!(
|
!(
|
||||||
[DataSpecsDataType.ENUM, DataSpecsDataType.ARRAY, DataSpecsDataType.DATE] as any[]
|
[DataSpecsDataType.ENUM, DataSpecsDataType.ARRAY, DataSpecsDataType.DATE] as any[]
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
:rules="[{ required: true, validator: validateList, trigger: 'change' }]"
|
:rules="[{ required: true, validator: validateList, trigger: 'change' }]"
|
||||||
label="JSON 对象"
|
label="JSON 对象"
|
||||||
>
|
>
|
||||||
|
<!-- TODO @puhui999:编辑已经添加的结构体,里面的参数加不上 -->
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in dataSpecsList"
|
v-for="(item, index) in dataSpecsList"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user