chore: shortcut table
This commit is contained in:
@@ -100,6 +100,11 @@ export function getRightRenderContent(opts: {
|
||||
icon: <InfoCircleOutlined />,
|
||||
label: intl.formatMessage({ id: 'common.button.version' })
|
||||
}
|
||||
// {
|
||||
// key: 'shortcuts',
|
||||
// icon: <IconFont type="icon-keyboard"></IconFont>,
|
||||
// label: intl.formatMessage({ id: 'common.button.shortcut' })
|
||||
// }
|
||||
];
|
||||
|
||||
const helpMenu = {
|
||||
@@ -142,6 +147,10 @@ export function getRightRenderContent(opts: {
|
||||
// opts.runtimeConfig.showVersion();
|
||||
opts.runtimeConfig.showVersion();
|
||||
}
|
||||
if (item.key === 'shortcuts') {
|
||||
// opts.runtimeConfig.showShortcuts();
|
||||
opts.runtimeConfig.showShortcuts();
|
||||
}
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user