mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-17 08:20:47 +08:00
🐛 修复插件市场搜索空白问题
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"插件市场"
|
||||
]
|
||||
},{
|
||||
"code": "plugins",
|
||||
"code": "installed",
|
||||
"explain": "rubick 已安装插件",
|
||||
"cmds":[
|
||||
"已安装插件"
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user