refactor(knowledge): 优化知识详情页面代码

- 移除 MetadataOperator 组件中的未使用导入和方法
- 在知识详情页面中为相关应用列表添加 key属性
This commit is contained in:
陈昱达
2025-05-21 18:43:40 +08:00
parent e55390c5d9
commit c8c726aff6
2 changed files with 1 additions and 3 deletions

View File

@@ -210,8 +210,6 @@ import {
updateMetaDataDoc
} from '@/api/generatedApi'
import MeteData from '@/views/knowledge/detail/components/metaData/Index.vue'
import { data } from 'autoprefixer'
export default {
name: 'MetadataOperator',
components: { MeteData },
@@ -239,7 +237,6 @@ export default {
},
created() {},
methods: {
data,
init(id) {
this.documentId = id
this.getDocList()

View File

@@ -56,6 +56,7 @@
<el-dropdown-item
v-for="item in relatedAppList"
:command="item"
:key="item.id"
disabled
>
<span>{{ item.appName }}</span>