diff --git a/src/components/editor/CommandLanguageBar.vue b/src/components/editor/CommandLanguageBar.vue index c1148b2..dd2d97e 100644 --- a/src/components/editor/CommandLanguageBar.vue +++ b/src/components/editor/CommandLanguageBar.vue @@ -194,7 +194,7 @@ flat color="primary" icon="play_arrow" - label="运行" + :label="`运行(${ctrlKey}B)`" @click="$emit('action', 'run')" > @@ -254,6 +254,7 @@ export default { commandTypes, isSettingsVisible: false, showUserData: false, + ctrlKey: utools.isMacOs ? "⌘" : "⌃", }; }, computed: {