We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00c1f66 commit 370d549Copy full SHA for 370d549
app/src/plugin/index.ts
@@ -16,6 +16,8 @@ import {BlockPanel} from "../block/Panel";
16
import {Setting} from "./Setting";
17
import {clearOBG} from "../layout/dock/util";
18
import {Constants} from "../constants";
19
+import {uninstall} from "./uninstall";
20
+import {afterLoadPlugin} from "./loader";
21
22
export class Plugin {
23
private app: App;
@@ -115,6 +117,9 @@ export class Plugin {
115
117
116
118
public onDataChanged() {
119
// 存储数据变更
120
+ // 兼容 4.3.1 以前同步数据使用重载插件的问题
121
+ uninstall(this.app, this.name, false);
122
+ afterLoadPlugin(this);
123
}
124
125
public async updateCards(options: ICardData) {
0 commit comments