diff --git a/app/src/plugin/index.ts b/app/src/plugin/index.ts index e653f12d8..6abab3015 100644 --- a/app/src/plugin/index.ts +++ b/app/src/plugin/index.ts @@ -127,7 +127,7 @@ export class Plugin { uninstall(this.app, this.name, true); loadPlugins(this.app, [this.name], false).then(() => { this.app.plugins.forEach(item => { - if (this.name.includes(item.name)) { + if (this.name === item.name) { afterLoadPlugin(item); getAllEditor().forEach(editor => { editor.protyle.toolbar.update(editor.protyle);