当前位置:网站首页>记录一个奇怪的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
边栏推荐
- Analysis of cluster component gpnp failed to start successfully in RAC environment
- [machine learning] Note 4. KNN + cross validation
- 第十五章 软件工程新技术
- OSS cloud storage management practice (polite experience)
- 2022年江西最新建筑八大员(质量员)模拟考试题库及答案解析
- Set Jianyun x Feishu Shennuo to help the enterprise operation Department realize office automation
- 低频量化之明日涨停预测
- SQL learning | complex query
- Android 面试主题集合整理
- UNIX final exam summary -- for direct Department
猜你喜欢
随机推荐
JMeter pressure test tool
try --finally
Set Jianyun x Feishu Shennuo to help the enterprise operation Department realize office automation
sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
19c RAC steps for modifying VIP and scanip - same network segment
Oracle view related
MySQL [acid + isolation level + redo log + undo log]
Oracle lock table query and unlocking method
Personal learning related
JS compares different elements in two arrays
19c environment ora-01035 login error handling
Window analysis function last_ VALUE,FIRST_ VALUE,lag,lead
Oracle index status query and index reconstruction
Usereducer basic usage
SQL learning | complex query
[code analysis (7)] communication efficient learning of deep networks from decentralized data
Database transactions
Express②(路由)
[code analysis (2)] communication efficient learning of deep networks from decentralized data
剑南春把文字游戏玩明白了









