Skip to content

Commit 9f5d507

Browse files
committed
开启ctrl+r, 开启开发者模式console时, cmd+r不会走这, 关了还是会走这
1 parent 3074cd8 commit 9f5d507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/js/app/page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,8 +1868,8 @@ function setMacTopMenu() {
18681868
submenu: [
18691869
{
18701870
label: 'Reload',
1871-
// 为什么不要有accelerator, cmd+r有问题, 刷新后, 再按cmd+r就不会执行这个了
1872-
// accelerator: isMac_ ? 'Command+R' : 'Ctrl+R',
1871+
// 开启开发者模式console时, cmd+r不会走这, 关了还是会走这
1872+
accelerator: isMac_ ? 'Command+R' : 'Ctrl+R',
18731873
click: function() {
18741874
onClose(function() {
18751875
gui.win.reloadIgnoringCache();

0 commit comments

Comments
 (0)