has done a project that uses sessionStorage for data caching. Now there is a low version of ios phone (8.1.1). There has been a problem in the Safari browser that comes with the phone. Other versions of ios phone have no problem. Then locate the problem with sessionStorage, read it on the Internet, and say that there is a compatibility problem with sessionStorage. Some people say that it can be solved with localStorage, but I tried. Still no
does a boss know a solution
alert (1)
! this.$route.params.last.name & & (sessionStorage.path = "home")
alert (2)
the code is very simple. If you enter the page, you can go to alert,1, but normal alert,2 cannot. At first, I thought it was a this.$route.params.last.name problem, but after testing it, it was still a sessionStorage problem