命令编辑器按钮添加键盘快捷键标签

This commit is contained in:
fofolee 2025-02-15 13:40:40 +08:00
parent d239953125
commit 49631ac60d

View File

@ -194,7 +194,7 @@
flat
color="primary"
icon="play_arrow"
label="运行"
:label="`运行(${ctrlKey}B)`"
@click="$emit('action', 'run')"
></q-btn>
<q-btn
@ -205,7 +205,7 @@
flat
dense
icon="save"
label="保存"
:label="`保存(${ctrlKey}S)`"
@click="$emit('action', 'save')"
></q-btn>
</q-btn-group>
@ -254,6 +254,7 @@ export default {
commandTypes,
isSettingsVisible: false,
showUserData: false,
ctrlKey: utools.isMacOs ? "⌘" : "⌃",
};
},
computed: {