From 370d549a482bc576577db2cdf779369db43f832c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 26 Nov 2025 19:30:42 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/16244 --- app/src/plugin/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/plugin/index.ts b/app/src/plugin/index.ts index 90854b853..fdb68fe11 100644 --- a/app/src/plugin/index.ts +++ b/app/src/plugin/index.ts @@ -16,6 +16,8 @@ import {BlockPanel} from "../block/Panel"; import {Setting} from "./Setting"; import {clearOBG} from "../layout/dock/util"; import {Constants} from "../constants"; +import {uninstall} from "./uninstall"; +import {afterLoadPlugin} from "./loader"; export class Plugin { private app: App; @@ -115,6 +117,9 @@ export class Plugin { public onDataChanged() { // 存储数据变更 + // 兼容 4.3.1 以前同步数据使用重载插件的问题 + uninstall(this.app, this.name, false); + afterLoadPlugin(this); } public async updateCards(options: ICardData) {