We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee6fe54 commit aaa7107Copy full SHA for aaa7107
src/calendar/module-calendar.ts
@@ -116,6 +116,17 @@ export class M_calendar {
116
steveTools.outlog("自动更新日历文件<1>");
117
}, 600000);
118
}
119
+ //解决 https://github.com/loonghfut/siyuan-steve-tools/issues/3
120
+ window.siyuan.ws.ws.addEventListener('message', async (e) => {
121
+ const msg = JSON.parse(e.data);
122
+ if (msg.cmd === "transactions") {
123
+ // console.log(msg);
124
+ if(msg.data[0].doOperations[0].action==="updateAttrs"){
125
+ console.log("updateAttrs");
126
+ this.avButton();
127
+ }
128
129
+ });
130
131
132
async onLayoutReady() {
0 commit comments