Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2ab3b9cc
authored
Jan 28, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码评审】IoT:物模型的管理
parent
9581ecd7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
src/router/modules/remaining.ts
+1
-1
src/views/iot/thingmodel/dataSpecs/ThingModelArrayDataSpecs.vue
+1
-0
src/views/iot/thingmodel/dataSpecs/ThingModelStructDataSpecs.vue
+1
-0
No files found.
src/router/modules/remaining.ts
View file @
2ab3b9cc
...
...
@@ -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'
)
},
...
...
src/views/iot/thingmodel/dataSpecs/ThingModelArrayDataSpecs.vue
View file @
2ab3b9cc
...
...
@@ -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[]
...
...
src/views/iot/thingmodel/dataSpecs/ThingModelStructDataSpecs.vue
View file @
2ab3b9cc
...
...
@@ -5,6 +5,7 @@
:rules=
"[
{ required: true, validator: validateList, trigger: 'change' }]"
label="JSON 对象"
>
<!-- TODO @puhui999:编辑已经添加的结构体,里面的参数加不上 -->
<div
v-for=
"(item, index) in dataSpecsList"
:key=
"index"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment