From abeae4d01f28b70e374a28704e1c1bf8468f0852 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 8 Mar 2026 11:36:22 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/17152 --- app/src/config/bazaar.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index 71115fe6d..9f2c3c108 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -716,6 +716,8 @@ type="checkbox"> }); }); } + } else if (response.code === 1) { + showMessage(response.msg); } }); } @@ -760,13 +762,6 @@ type="checkbox"> }, async response => { this._genMyHTML(bazaarType, app); bazaar._onBazaar(response, bazaarType); - // TODO 集市包的相关逻辑应完全由内核处理并推送到所有前端实例,下面的代码需要确认 - // https://github.com/siyuan-note/siyuan/issues/15177 - if (bazaarType === "themes" && response.data.appearance?.themeVer) { - window.siyuan.config.appearance.themeVer = response.data.appearance.themeVer; - } - // 更新主题后不需要对该主题进行切换 https://github.com/siyuan-note/siyuan/issues/4966 - // https://github.com/siyuan-note/siyuan/issues/5411 }); }); }