From c1b7efec08c234b5bac406c88230fa96e87dc4d6 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 1 Feb 2026 22:54:03 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16947#issuecomment-3830635977 Signed-off-by: Daniel <845765@qq.com> --- kernel/model/bazzar.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/model/bazzar.go b/kernel/model/bazzar.go index aeb1f67e1..9c1c29819 100644 --- a/kernel/model/bazzar.go +++ b/kernel/model/bazzar.go @@ -120,6 +120,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza if plugin.Outdated { plugins = append(plugins, plugin) } + plugin.PreferredReadme = "" // 清空这个字段,前端会请求在线的 README } }() @@ -130,6 +131,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza if widget.Outdated { widgets = append(widgets, widget) } + widget.PreferredReadme = "" } }() @@ -140,6 +142,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza if icon.Outdated { icons = append(icons, icon) } + icon.PreferredReadme = "" } }() @@ -150,6 +153,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza if theme.Outdated { themes = append(themes, theme) } + theme.PreferredReadme = "" } }() @@ -160,6 +164,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza if template.Outdated { templates = append(templates, template) } + template.PreferredReadme = "" } }()