🐛 修复插件市场搜索空白问题

This commit is contained in:
muwoo
2021-12-22 14:58:42 +08:00
parent 5cfaa70c67
commit dc656d3bca
15 changed files with 35 additions and 10 deletions

View File

@@ -15,7 +15,7 @@
"插件市场"
]
},{
"code": "plugins",
"code": "installed",
"explain": "rubick 已安装插件",
"cmds":[
"已安装插件"

View File

@@ -55,6 +55,11 @@ const changeMenu = (key: any) => {
router.push(key);
};
window.rubick.onPluginEnter(({ code }: { code: string }) => {
changeMenu(code);
active.value = [code];
});
const store = useStore();
const init = () => store.dispatch("init");
init();

View File

@@ -55,6 +55,14 @@
</div>
<div class="setting-item">
<div class="title">通用</div>
<div class="settings-item-li">
<div class="label">输入框自动粘贴</div>
<a-switch
v-model:checked="config.perf.common.autoPast"
checked-children=""
un-checked-children=""
></a-switch>
</div>
<div class="settings-item-li">
<div class="label">开机启动</div>
<a-switch