This commit is contained in:
parent
c115ce2c7e
commit
4f8e438138
1 changed files with 3 additions and 2 deletions
|
@ -67,10 +67,11 @@ const promiseTransaction = () => {
|
|||
undoOperations // 目前用于 ws 推送更新大纲
|
||||
}]
|
||||
}, (response) => {
|
||||
if (window.siyuan.transactions.length !== 0) {
|
||||
if (window.siyuan.transactions.length === 0) {
|
||||
countBlockWord([], protyle.block.rootID, true);
|
||||
} else {
|
||||
promiseTransaction();
|
||||
}
|
||||
countBlockWord([], protyle.block.rootID, true);
|
||||
/// #if MOBILE
|
||||
if ((0 !== window.siyuan.config.sync.provider || (0 === window.siyuan.config.sync.provider && !needSubscribe(""))) &&
|
||||
window.siyuan.config.repo.key && window.siyuan.config.sync.enabled) {
|
||||
|
|
Loading…
Add table
Reference in a new issue