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
97364078
authored
Dec 30, 2024
by
安浩浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码优化】将 API 和 UI 组件中的“pluginId”重命名为“pluginKey”
parent
b08aae63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/api/iot/plugininfo/index.ts
+1
-1
src/views/iot/plugin/detail/index.vue
+2
-2
src/views/iot/plugin/index.vue
+1
-1
No files found.
src/api/iot/plugininfo/index.ts
View file @
97364078
...
...
@@ -3,7 +3,7 @@ import request from '@/config/axios'
// IoT 插件信息 VO
export
interface
PluginInfoVO
{
id
:
number
// 主键ID
plugin
Id
:
string
// 插件包id
plugin
Key
:
string
// 插件标识
name
:
string
// 插件名称
description
:
string
// 描述
deployType
:
number
// 部署方式
...
...
src/views/iot/plugin/detail/index.vue
View file @
97364078
...
...
@@ -14,8 +14,8 @@
<el-descriptions-item
label=
"插件名称"
>
{{
pluginInfo
.
name
}}
</el-descriptions-item>
<el-descriptions-item
label=
"插件
ID
"
>
{{
pluginInfo
.
plugin
Id
}}
<el-descriptions-item
label=
"插件
标识
"
>
{{
pluginInfo
.
plugin
Key
}}
</el-descriptions-item>
<el-descriptions-item
label=
"版本号"
>
{{
pluginInfo
.
version
}}
...
...
src/views/iot/plugin/index.vue
View file @
97364078
...
...
@@ -52,7 +52,7 @@
<ContentWrap>
<el-table
v-loading=
"loading"
:data=
"list"
:stripe=
"true"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"插件名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"
组件id"
align=
"center"
prop=
"pluginId
"
/>
<el-table-column
label=
"
插件标识"
align=
"center"
prop=
"pluginKey
"
/>
<el-table-column
label=
"jar包"
align=
"center"
prop=
"file"
/>
<el-table-column
label=
"版本号"
align=
"center"
prop=
"version"
/>
<el-table-column
label=
"部署方式"
align=
"center"
prop=
"deployType"
>
...
...
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