diff --git a/src/components/cards/PluginAppCard.vue b/src/components/cards/PluginAppCard.vue index 22550530..63c50bf8 100644 --- a/src/components/cards/PluginAppCard.vue +++ b/src/components/cards/PluginAppCard.vue @@ -43,11 +43,8 @@ const imageLoadError = ref(false) // 更新日志弹窗 const releaseDialog = ref(false) -// 计算插件标签 -const pluginLabels = computed(() => { - if (!props.plugin?.plugin_label) return [] - return props.plugin.plugin_label.split(',') -}) +// 插件详情弹窗 +const detailDialog = ref(false) // 图片加载完成 async function imageLoaded() { @@ -76,7 +73,7 @@ async function installPlugin() { if (result.success) { $toast.success(`插件 ${props.plugin?.plugin_name} 安装成功!`) - + detailDialog.value = false // 通知父组件刷新 emit('install') } else { @@ -150,7 +147,7 @@ const dropdownItems = ref([ diff --git a/src/components/cards/PluginCard.vue b/src/components/cards/PluginCard.vue index c33cc2c9..64335a42 100644 --- a/src/components/cards/PluginCard.vue +++ b/src/components/cards/PluginCard.vue @@ -1,7 +1,6 @@