mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
This commit is contained in:
parent
3cac07dfd9
commit
abeae4d01f
1 changed files with 2 additions and 7 deletions
|
|
@ -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
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue