mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
⚡ 获取 json 布局不应保存 scroll
This commit is contained in:
parent
45bfec7d2f
commit
ac269b4e1b
16 changed files with 74 additions and 83 deletions
|
|
@ -626,8 +626,9 @@ export const bazaar = {
|
|||
}, response => {
|
||||
if (window.siyuan.config.appearance.themeJS && bazaarType === "themes") {
|
||||
exportLayout({
|
||||
reload: true,
|
||||
onlyData: false,
|
||||
cb() {
|
||||
window.location.reload();
|
||||
},
|
||||
errorExit: false,
|
||||
});
|
||||
return;
|
||||
|
|
@ -686,8 +687,9 @@ export const bazaar = {
|
|||
)) {
|
||||
if (window.siyuan.config.appearance.themeJS) {
|
||||
exportLayout({
|
||||
reload: true,
|
||||
onlyData: false,
|
||||
cb() {
|
||||
window.location.reload();
|
||||
},
|
||||
errorExit: false,
|
||||
});
|
||||
} else {
|
||||
|
|
@ -763,8 +765,9 @@ export const bazaar = {
|
|||
(mode === 0 && window.siyuan.config.appearance.themeLight !== packageName)) &&
|
||||
window.siyuan.config.appearance.themeJS) {
|
||||
exportLayout({
|
||||
reload: true,
|
||||
onlyData: false,
|
||||
cb() {
|
||||
window.location.reload();
|
||||
},
|
||||
errorExit: false,
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue