diff --git a/apps/client/components/UserMenu.vue b/apps/client/components/UserMenu.vue index e7071f64..567fa83d 100644 --- a/apps/client/components/UserMenu.vue +++ b/apps/client/components/UserMenu.vue @@ -93,6 +93,12 @@ const showMenuOptions = computed(() => { eventName: handleSetting, icon: "i-ph-gear", }, + { + title: "编辑器", + name: "setting", + eventName: handleGoToEditor, + icon: "i-ph-planet-duotone", + }, { title: "帮助文档", name: "helpDocs", @@ -139,6 +145,11 @@ function handleLogout() { open.value = false; emit("logout", true); } + +function handleGoToEditor() { + open.value = false; + window.open("https://earthworm-editor.cuixueshe.com", "_blank"); +}