Skip to content

Commit 9736407

Browse files
committed
【代码优化】将 API 和 UI 组件中的“pluginId”重命名为“pluginKey”
1 parent b08aae6 commit 9736407

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/api/iot/plugininfo/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import request from '@/config/axios'
33
// IoT 插件信息 VO
44
export interface PluginInfoVO {
55
id: number // 主键ID
6-
pluginId: string // 插件包id
6+
pluginKey: string // 插件标识
77
name: string // 插件名称
88
description: string // 描述
99
deployType: number // 部署方式

src/views/iot/plugin/detail/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<el-descriptions-item label="插件名称">
1515
{{ pluginInfo.name }}
1616
</el-descriptions-item>
17-
<el-descriptions-item label="插件ID">
18-
{{ pluginInfo.pluginId }}
17+
<el-descriptions-item label="插件标识">
18+
{{ pluginInfo.pluginKey }}
1919
</el-descriptions-item>
2020
<el-descriptions-item label="版本号">
2121
{{ pluginInfo.version }}

src/views/iot/plugin/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<ContentWrap>
5353
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
5454
<el-table-column label="插件名称" align="center" prop="name" />
55-
<el-table-column label="组件id" align="center" prop="pluginId" />
55+
<el-table-column label="插件标识" align="center" prop="pluginKey" />
5656
<el-table-column label="jar包" align="center" prop="file" />
5757
<el-table-column label="版本号" align="center" prop="version" />
5858
<el-table-column label="部署方式" align="center" prop="deployType">

0 commit comments

Comments
 (0)