🐛 修复系统插件无法打开ui界面问题

This commit is contained in:
muwoo
2022-01-17 16:00:23 +08:00
parent 8107d74537
commit 240175c571
3 changed files with 13 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ const createPluginManager = (): any => {
};
const openPlugin = (plugin) => {
if (plugin.pluginType === "ui") {
if (plugin.pluginType === "ui" || plugin.pluginType === "system") {
if (state.currentPlugin && state.currentPlugin.name === plugin.name) {
return;
}