mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 06:16:27 +08:00
命令编辑器按钮添加键盘快捷键标签
This commit is contained in:
parent
d239953125
commit
49631ac60d
@ -194,7 +194,7 @@
|
|||||||
flat
|
flat
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="play_arrow"
|
icon="play_arrow"
|
||||||
label="运行"
|
:label="`运行(${ctrlKey}B)`"
|
||||||
@click="$emit('action', 'run')"
|
@click="$emit('action', 'run')"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
<q-btn
|
<q-btn
|
||||||
@ -205,7 +205,7 @@
|
|||||||
flat
|
flat
|
||||||
dense
|
dense
|
||||||
icon="save"
|
icon="save"
|
||||||
label="保存"
|
:label="`保存(${ctrlKey}S)`"
|
||||||
@click="$emit('action', 'save')"
|
@click="$emit('action', 'save')"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
</q-btn-group>
|
</q-btn-group>
|
||||||
@ -254,6 +254,7 @@ export default {
|
|||||||
commandTypes,
|
commandTypes,
|
||||||
isSettingsVisible: false,
|
isSettingsVisible: false,
|
||||||
showUserData: false,
|
showUserData: false,
|
||||||
|
ctrlKey: utools.isMacOs ? "⌘" : "⌃",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user