mirror of
https://github.com/rubickCenter/rubick
synced 2026-01-02 01:49:27 +08:00
🐛 修复插件市场搜索空白问题
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user