DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
fix: show target version in plugin upgrade chip (#325)
CoderStory3e4fecbb86f8
diff --git a/src/components/config-plugin.tsx b/src/components/config-plugin.tsxindex 387c080b..3041d66e 100644--- a/src/components/config-plugin.tsx+++ b/src/components/config-plugin.tsx@@ -449,10 +449,11 @@ export function ConfigPlugin() {<span className="flex items-center gap-1"><If cond={busy?.id === plugin.id && busy.action === 'update'} then={<Spinner size="sm" color="current" />} />{t('plugins.upgrade')}- {/* TODO: hash 会超出长度 */}- {/* <If cond={plugin.latestVersion != null && plugin.error == null}>- <span className="font-mono text-[10px] opacity-80">{plugin.latestVersion}</span>- </If> */}+ <If cond={plugin.latestVersion != null && plugin.error == null}>+ <span className="font-mono text-[10px] opacity-80 max-w-[80px] truncate">+ {plugin.latestVersion && plugin.latestVersion.length >= 40 ? `${plugin.latestVersion.slice(0, 8)}…` : plugin.latestVersion}+ </span>+ </If></span></Chip></If>