当前位置:网站首页>记录一个奇怪的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)
- Analysis of unused index columns caused by implicit conversion of timestamp
- Special window function rank, deny_ rank, row_ number
- 3300万IOPS、39微秒延迟、碳足迹认证,谁在认真搞事情?
- redis如何解决缓存雪崩、缓存击穿和缓存穿透问题
- JMeter pressure test tool
- 【报名】TF54:工程师成长地图与卓越研发组织打造
- Modification of table fields by Oracle
- 【项目】小帽外卖(八)
- 美联储数字货币最新进展
猜你喜欢
随机推荐
Three characteristics of volatile keyword [data visibility, prohibition of instruction rearrangement and no guarantee of operation atomicity]
Information: 2021 / 9 / 29 10:01 - build completed with 1 error and 0 warnings in 11S 30ms error exception handling
Detailed explanation and usage of with function in SQL
Dynamic subset division problem
10g database cannot be started when using large memory host
elmo(BiLSTM-CRF+elmo)(Conll-2003 命名实体识别NER)
Leetcode brush question 𞓜 13 Roman numeral to integer
剑南春把文字游戏玩明白了
Processing of ASM network not automatically started in 19C
SQL learning | set operation
sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
Generate 32-bit UUID in Oracle
try --finally
[code analysis (6)] communication efficient learning of deep networks from decentralized data
MySQL [SQL performance analysis + SQL tuning]
2022年江西最新建筑八大员(质量员)模拟考试题库及答案解析
Jenkins construction and use
19c RAC steps for modifying VIP and scanip - same network segment
Influence of openssh version on SSH mutual trust creation in RAC environment
OSS cloud storage management practice (polite experience)