The problem of js mobile returning refresh data

vue non-single page application, a pull-up loaded list, by clicking on the loaded content to jump to the next page, and then click back, the page will re-render the data of the first screen, how to keep the page in its original state and not refresh it?

Dec.08,2021

Lou Zhu, vue routing keep-alive understand, refer to this article, portal


keep-alive


doesn't he have a rolling distance, you can remember his rolling distance


try window.open

window.open("http://www.w3school.com.cn")

in this way, you can open a new page, and the original page will not be replaced

if it is a a tag, you can add the target=_blank attribute, and a new page will be opened

.
<a href="pref.html" target="_blank">Preface</a>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb4479-4f992.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb4479-4f992.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?