mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
db690c51b6
commit
09e5828ffe
4 changed files with 22 additions and 11 deletions
|
|
@ -19,7 +19,7 @@ import {initMessage} from "../dialog/message";
|
|||
import {getAllTabs} from "../layout/getAll";
|
||||
import {getLocalStorage} from "../protyle/util/compatibility";
|
||||
import {init} from "../window/init";
|
||||
import {loadPlugins} from "../plugin/loader";
|
||||
import {loadPlugins, reloadPlugin} from "../plugin/loader";
|
||||
import {hideAllElements} from "../protyle/ui/hideElements";
|
||||
|
||||
class App {
|
||||
|
|
@ -51,6 +51,9 @@ class App {
|
|||
});
|
||||
if (data) {
|
||||
switch (data.cmd) {
|
||||
case "reloadPlugin":
|
||||
reloadPlugin(this);
|
||||
break;
|
||||
case "syncMergeResult":
|
||||
reloadSync(this, data.data);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue