diff --git a/src/views/plugin/PluginCardListView.vue b/src/views/plugin/PluginCardListView.vue
index c0230cb4..46f389f7 100644
--- a/src/views/plugin/PluginCardListView.vue
+++ b/src/views/plugin/PluginCardListView.vue
@@ -207,6 +207,7 @@ async function fetchUninstalledPlugins() {
data.has_update = true
data.repo_url = uninstalled.repo_url
data.history = uninstalled.history
+ data.plugin_label = uninstalled.plugin_label
}
}
}
@@ -267,6 +268,12 @@ const sortedUninstalledList = computed(() => {
})
})
+// 标签转换
+function pluginLabels(label: string | undefined) {
+ if (!label) return []
+ return label.split(',')
+}
+
// 加载时获取数据
onBeforeMount(() => {
refreshData()
@@ -441,7 +448,21 @@ onBeforeMount(() => {
{{ item.plugin_name }}v{{ item?.plugin_version }}
-
+
+
+ {{ label }}
+
+
+ {{ item.plugin_desc }}
+
+