Skip to content

Commit

Permalink
feat: add editor entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Jul 3, 2024
1 parent 8714f8a commit 4e74447
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/client/components/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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");
}
</script>

<style scoped></style>

0 comments on commit 4e74447

Please sign in to comment.