Vanessa 2026-03-08 11:36:22 +08:00
parent 3cac07dfd9
commit abeae4d01f

View file

@ -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
});
});
}