当前位置:网站首页>记录一个奇怪的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
边栏推荐
- Oracle kills the executing SQL
- Reading notes: meta matrix factorization for federated rating predictions
- cnpm的诡异bug
- Generate 32-bit UUID in Oracle
- MySQL [SQL performance analysis + SQL tuning]
- OSS cloud storage management practice (polite experience)
- Oracle and MySQL batch query all table names and table name comments under users
- Operations related to Oracle partition
- Apache Atlas Compilation and installation records
- Oracle database recovery data
猜你喜欢
Express②(路由)
Small case of web login (including verification code login)
[VMware] address of VMware Tools
Technologie zéro copie
MySQL [acid + isolation level + redo log + undo log]
Multithreading
Usereducer basic usage
零拷貝技術
Double pointer instrument panel reading (I)
Dolphin scheduler configuring dataX pit records
随机推荐
Express②(路由)
JUC interview questions about synchronized, ThreadLocal, thread pool and atomic atomic classes
Oracle calculates the difference between two dates in seconds, minutes, hours and days
Window function row commonly used for fusion and de duplication_ number
Detailed explanation of redis (Basic + data type + transaction + persistence + publish and subscribe + master-slave replication + sentinel + cache penetration, breakdown and avalanche)
leetcode--357. 统计各位数字都不同的数字个数
Jenkins construction and use
Modify the Jupiter notebook style
Oracle clear SQL cache
19c environment ora-01035 login error handling
Antd design form verification
Storage scheme of video viewing records of users in station B
Oracle job scheduled task usage details
AttributeError: ‘dict‘ object has no attribute ‘iteritems‘
Basic SQL query and learning
try --finally
[VMware] address of VMware Tools
Interval query through rownum
Android interview theme collection
AtCoder Beginner Contest 248C Dice Sum (生成函数)