mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
This commit is contained in:
parent
8e60de66ee
commit
e731d888e9
2 changed files with 8 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ import {processIOSPurchaseResponse} from "./util/iOSPurchase";
|
|||
/// #if BROWSER
|
||||
import {setLocalShorthandCount} from "./util/noRelyPCFunction";
|
||||
/// #endif
|
||||
import {getDockByType} from "./layout/tabUtil";
|
||||
import {Tag} from "./layout/dock/Tag";
|
||||
|
||||
export class App {
|
||||
public plugins: import("./plugin").Plugin[] = [];
|
||||
|
|
@ -68,6 +70,9 @@ export class App {
|
|||
case "setDefRefCount":
|
||||
setDefRefCount(data.data);
|
||||
break;
|
||||
case "reloadTag":
|
||||
(getDockByType("tag")?.data.tag as Tag).update();
|
||||
break;
|
||||
/// #if BROWSER
|
||||
case "setLocalShorthandCount":
|
||||
setLocalShorthandCount();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue