当前位置:网站首页>记录一个奇怪的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
边栏推荐
- Dolphin scheduler integrates Flink task pit records
- Using Baidu Intelligent Cloud face detection interface to achieve photo quality detection
- Generate 32-bit UUID in Oracle
- Oracle database recovery data
- Technologie zéro copie
- Express中间件③(自定义中间件)
- [VMware] address of VMware Tools
- Oracle index status query and index reconstruction
- 【报名】TF54:工程师成长地图与卓越研发组织打造
- Android interview theme collection
猜你喜欢
Modify the Jupiter notebook style
OSS cloud storage management practice (polite experience)
redis如何解决缓存雪崩、缓存击穿和缓存穿透问题
2021年秋招,薪资排行NO
cnpm的诡异bug
Dolphin scheduler integrates Flink task pit records
Multithreading
[machine learning] Note 4. KNN + cross validation
解决方案架构师的小锦囊 - 架构图的 5 种类型
Dolphin scheduler configuring dataX pit records
随机推荐
JUC interview questions about synchronized, ThreadLocal, thread pool and atomic atomic classes
Tensorflow & pytorch common error reporting
Get the attribute value difference between two different objects with reflection and annotation
PG library to view the distribution keys of a table in a certain mode
Express中间件③(自定义中间件)
Es introduction learning notes
Modify the Jupiter notebook style
Android interview theme collection
Ora-600 encountered in Oracle environment [qkacon: fjswrwo]
10g database cannot be started when using large memory host
Use future and countdownlatch to realize multithreading to execute multiple asynchronous tasks, and return results after all tasks are completed
Double pointer instrument panel reading (I)
初探 Lambda Powertools TypeScript
Leetcode | 38 appearance array
Leetcode brush question 𞓜 13 Roman numeral to integer
Dolphin scheduler source package Src tar. GZ decompression problem
JS compares different elements in two arrays
自动化的艺术
AtCoder Beginner Contest 248C Dice Sum (生成函数)
Oracle defines self incrementing primary keys through triggers and sequences, and sets a scheduled task to insert a piece of data into the target table every second