🐛 修复 #221 & 性能优化,支持插件窗口池

This commit is contained in:
muwoo
2023-09-13 14:29:06 +08:00
parent 6dffd1a793
commit 61b4e37fe0
7 changed files with 68 additions and 29 deletions

View File

@@ -19,7 +19,7 @@ function searchKeyValues(lists, value, strict = false) {
if (item.type === 'regex' && !strict) {
return formatReg(item.match).test(value);
}
if (item.type === 'over') {
if (item.type === 'over' && !strict) {
return true;
}
return false;

View File

@@ -15,7 +15,7 @@ export default function pluginClickEvent({ plugin, fe, cmd, ext, openPlugin }) {
// 模板文件
if (!plugin.main) {
pluginDist.tplPath = commonConst.dev()
? 'http://localhost:8082/#/'
? 'http://localhost:8083/#/'
: `file://${__static}/tpl/index.html`;
}
// 插件市场