当前位置:网站首页>记录一个奇怪的bug:缓存组件跳转之后出现组件复制
记录一个奇怪的bug:缓存组件跳转之后出现组件复制
2022-04-23 13:53:00 【samscat】
在app.vue里面设置了组件缓存
进入首页之后跳转市场页面,再跳回首页时其中市场组件中一段html被复制到了首页顶部,跳转其他页面的时候这个部分也会被带到其他页面的顶部。而且n次跳转会复制n倍,其他的html段没有出现这个现象。。。
这个市场组件是被缓存的,然而被复制的这个html片段只是这个组件的一个html片段,并不是一个单独的组件,被复制的html片段如下
普普通通的一段html代码,并没有什么特别之处,为什么独它被copy了呢?
最终我解除了这个组件的缓存状态,之后不再出现此种现象。
版权声明
本文为[samscat]所创,转载请带上原文链接,感谢
https://blog.csdn.net/samscat/article/details/124322827
边栏推荐
- Detailed explanation of redis (Basic + data type + transaction + persistence + publish and subscribe + master-slave replication + sentinel + cache penetration, breakdown and avalanche)
- Wechat applet
- Solution of discarding evaluate function in surprise Library
- SQL learning | set operation
- Test on the time required for Oracle to delete data with delete
- Oracle modify default temporary tablespace
- 解决方案架构师的小锦囊 - 架构图的 5 种类型
- MySQL [acid + isolation level + redo log + undo log]
- Resolution: argument 'radius' is required to be an integer
- UNIX final exam summary -- for direct Department
猜你喜欢
【vmware】vmware tools 地址
try --finally
Opening: identification of double pointer instrument panel
cnpm的诡异bug
UML统一建模语言
Apache seatunnel 2.1.0 deployment and stepping on the pit
Search ideas and cases of large amount of Oracle redo log
商家案例 | 运动健康APP用户促活怎么做?做好这几点足矣
MySQL [SQL performance analysis + SQL tuning]
Jenkins construction and use
随机推荐
Wechat applet
Oracle database combines the query result sets of multiple columns into one row
PG library checks the name
Detailed explanation of constraints of Oracle table
The query did not generate a result set exception resolution when the dolphin scheduler schedules the SQL task to create a table
Ora-16047 of a DG environment: dgid mismatch between destination setting and target database troubleshooting and listening vncr features
Apache seatunnel 2.1.0 deployment and stepping on the pit
10g database cannot be started when using large memory host
解决方案架构师的小锦囊 - 架构图的 5 种类型
Oracle RAC database instance startup exception analysis IPC send timeout
Analysis of unused index columns caused by implicit conversion of timestamp
函数只执行第一次的执行一次 once函数
Oracle kills the executing SQL
MySQL [SQL performance analysis + SQL tuning]
Modification of table fields by Oracle
Oracle calculates the difference between two dates in seconds, minutes, hours and days
Oracle generates millisecond timestamps
Analysis of redo log generated by select command
MySQL [read / write lock + table lock + row lock + mvcc]
Double pointer instrument panel reading (I)