Use the shortcut key to refresh the page after the page blank
See original GitHub issueWhen 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:
After the refresh:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
router用history模式的情况下会出现这种情况。 测试了几个版本都有这个问题,具体原因不清楚,但桌面软件一般都是禁止用户手动刷新的吧 如果确实有这个需求,将vue-router改为hash模式
Electron has
ctrl-r
to reload enabled by default and it works fine.