question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use the shortcut key to refresh the page after the page blank

See original GitHub issue

When I finished packaging my project, I refreshed the page with the menu role= ‘reload’ shortcut provided by the electron official, the page was blank.While In development mode, it is normal to use the shortcut key to reload the page. { label:'刷新', role:'reload' }, When I debug my packaged project, after refreshing the page, the debug found. The refresh before: image After the refresh: image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
ding-ecommented, May 12, 2019

router用history模式的情况下会出现这种情况。 测试了几个版本都有这个问题,具体原因不清楚,但桌面软件一般都是禁止用户手动刷新的吧 如果确实有这个需求,将vue-router改为hash模式

0reactions
nklaymancommented, Jun 28, 2020

Electron has ctrl-r to reload enabled by default and it works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Hard Refresh Your Web Browser (to Bypass Your ...
Chrome, Firefox, or Edge for Windows: Press Ctrl+F5 (If that doesn't work, try Shift+F5 or Ctrl+Shift+R). Chrome or Firefox for Mac: Press Shift ......
Read more >
How to Hard Refresh - Zesty.io
Use keyboard shortcut Command + Shift + R. OR hold down the Shift key while clicking the refresh button. How to Hard Refresh...
Read more >
What is a Hard Refresh? How to do a Hard Refresh in Any ...
Google Chrome · Windows users: hold down Ctrl and then press F5 on your keyboard · Mac users: hold down Cmd and Shift...
Read more >
How to clear your browser cache and perform a hard refresh
Or, Hold down Ctrl and press F5. Just open the Chrome Dev Tools by pressing F12. Once the chrome dev tools are open,...
Read more >
How to do Hard Refresh in Chrome, Firefox, Edge and Mac's ...
Ctrl + F5 is the shortcut to trigger a refresh, which will force the page to reload. To make the browser refresh without...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found