diff --git a/package.json b/package.json index cab02d2d..bdc40d49 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "1.3.9-2", + "version": "1.3.9", "private": true, "bin": "dist/service.js", "scripts": { diff --git a/src/components/cards/PluginAppCard.vue b/src/components/cards/PluginAppCard.vue index 7fe1c0fd..d7b120af 100644 --- a/src/components/cards/PluginAppCard.vue +++ b/src/components/cards/PluginAppCard.vue @@ -30,7 +30,7 @@ async function installPlugin() { try { // 显示等待提示框 progressDialog.value = true - progressText.value = `正在安装 ${props.plugin?.plugin_name} 插件...` + progressText.value = `正在安装 ${props.plugin?.plugin_name} ${props?.plugin?.plugin_version} 插件...` const result: { [key: string]: any } = await api.get( `plugin/install/${props.plugin?.id}`, @@ -59,6 +59,13 @@ async function installPlugin() { console.error(error) } } + +// 计算图标路径 +const iconPath = computed(() => { + return props.plugin?.plugin_icon?.startsWith('http') + ? props.plugin?.plugin_icon + : `/plugin_icon/${props.plugin?.plugin_icon}` +})