Vanessa 2024-09-06 16:58:25 +08:00
parent c33401ed7c
commit 1d8ba5b225
5 changed files with 47 additions and 5 deletions

View file

@ -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;