【代码优化】将 API 和 UI 组件中的“pluginId”重命名为“pluginKey”

This commit is contained in:
安浩浩 2024-12-30 18:32:14 +08:00
parent b08aae63ed
commit 9736407824
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import request from '@/config/axios'
// IoT 插件信息 VO
export interface PluginInfoVO {
id: number // 主键ID
pluginId: string // 插件包id
pluginKey: string // 插件标识
name: string // 插件名称
description: string // 描述
deployType: number // 部署方式

View File

@ -14,8 +14,8 @@
<el-descriptions-item label="插件名称">
{{ pluginInfo.name }}
</el-descriptions-item>
<el-descriptions-item label="插件ID">
{{ pluginInfo.pluginId }}
<el-descriptions-item label="插件标识">
{{ pluginInfo.pluginKey }}
</el-descriptions-item>
<el-descriptions-item label="版本号">
{{ pluginInfo.version }}

View File

@ -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">