mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
c33401ed7c
commit
1d8ba5b225
5 changed files with 47 additions and 5 deletions
|
|
@ -11,7 +11,7 @@ import {openFileById} from "../editor/util";
|
|||
import {
|
||||
processSync, progressBackgroundTask,
|
||||
progressLoading,
|
||||
progressStatus, reloadSync,
|
||||
progressStatus, reloadSync, setDefRefCount, setRefDynamicText,
|
||||
setTitle,
|
||||
transactionError
|
||||
} from "../dialog/processSystem";
|
||||
|
|
@ -50,6 +50,12 @@ class App {
|
|||
});
|
||||
if (data) {
|
||||
switch (data.cmd) {
|
||||
case "setDefRefCount":
|
||||
setDefRefCount(data.data);
|
||||
break;
|
||||
case "setRefDynamicText":
|
||||
setRefDynamicText(data.data);
|
||||
break;
|
||||
case "reloadPlugin":
|
||||
reloadPlugin(this, data.data);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue