mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🧪
This commit is contained in:
parent
52b378b2c7
commit
2d056409c4
2 changed files with 3 additions and 3 deletions
|
|
@ -182,6 +182,9 @@ export class App {
|
||||||
setNoteBook();
|
setNoteBook();
|
||||||
initBlockPopover(this);
|
initBlockPopover(this);
|
||||||
promiseTransactions();
|
promiseTransactions();
|
||||||
|
window.setInterval(() => {
|
||||||
|
console.log(new Date().getTime())
|
||||||
|
}, 10000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -316,9 +316,6 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const promiseTransactions = () => {
|
export const promiseTransactions = () => {
|
||||||
window.setInterval(() => {
|
|
||||||
console.log(new Date().getTime())
|
|
||||||
}, 10000);
|
|
||||||
window.siyuan.transactionsTimeout = window.setInterval(() => {
|
window.siyuan.transactionsTimeout = window.setInterval(() => {
|
||||||
if (window.siyuan.transactions.length === 0) {
|
if (window.siyuan.transactions.length === 0) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue