diff --git a/frontend/src/components/pure/ms-ctrl-or-command/index.tsx b/frontend/src/components/pure/ms-ctrl-or-command/index.tsx new file mode 100644 index 0000000000..e6daf336b9 --- /dev/null +++ b/frontend/src/components/pure/ms-ctrl-or-command/index.tsx @@ -0,0 +1,7 @@ +import { isMacOs } from '@/utils'; + +export default defineComponent(() => { + const isMac = isMacOs(); + + return () => (isMac ? : 'Ctrl'); +}); diff --git a/frontend/src/components/pure/ms-minder-editor/main/navigator.vue b/frontend/src/components/pure/ms-minder-editor/main/navigator.vue index 066e699cd8..49e1b08101 100644 --- a/frontend/src/components/pure/ms-minder-editor/main/navigator.vue +++ b/frontend/src/components/pure/ms-minder-editor/main/navigator.vue @@ -64,7 +64,7 @@
{{ t('common.copy') }}
- +
C
@@ -79,7 +79,7 @@
{{ t('minder.hotboxMenu.paste') }}
- +
V
@@ -94,7 +94,7 @@
{{ t('minder.hotboxMenu.cut') }}
- +
X
@@ -103,7 +103,7 @@
{{ t('minder.hotboxMenu.enterNode') }}
- +
@@ -144,6 +144,7 @@