当前位置:网站首页>Record a strange bug: component copy after cache component jump

Record a strange bug: component copy after cache component jump

2022-04-23 13:56:00 samscat

stay app.vue There is a component cache  Insert picture description here
After entering the home page, jump to the market page , When you jump back to the home page, there is a paragraph in the market component html Copied to the top of the home page , When you jump to other pages, this part will also be taken to the top of other pages . and n Jump transfer copy n times , Other html This phenomenon does not appear in paragraph ...
 Insert picture description here

This market component is cached , However, the copied one html The fragment is just a part of this component html fragment , Not a single component , Copied html The snippet is as follows
 Insert picture description here
An ordinary paragraph html Code , Nothing special , Why is it alone copy What about it ?
Finally, I released the cache state of this component , This phenomenon will not appear again after .

版权声明
本文为[samscat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231352403938.html