当前位置:网站首页>Wechat applet: click the button to switch frequently, overlap the custom markers, but the value does not change
Wechat applet: click the button to switch frequently, overlap the custom markers, but the value does not change
2022-06-23 09:22:00 【Crazy_ GirlLL】

background : Click to switch the live elements on the right , change marker The following live information (-22.9℃), also markers name ( Shangzhi City ) And live information (-22.9℃) It is not an interface acquisition , This project also uses a custom callout
Customize callout Here is an example of : I need to take it myself https://blog.csdn.net/Crazy_GirlLL/article/details/113556336
The structure is as follows

According to the big man's prompt , In custom components customMarkers Although it is also every request , But inside id It is the same. , So the click button will appear , Call interface , Data is also requested to , But it hasn't been updated to customMarkers Inside ,, Every time you click a button , That is, before requesting new live information , Just empty customMarkers The data in it , This will force the rendering to
边栏推荐
猜你喜欢
![[MRCTF2020]Ez_ bypass](/img/cd/bd6fe5dfc3f1942a9959a9dab9e7e0.png)
[MRCTF2020]Ez_ bypass
Redis learning notes - publish and subscribe
![[event registration] sofastack × CSDN jointly held the open source series meetup, which was launched on June 24](/img/e1/97c92290a2a5e68f05cdbd5bf525e8.png)
[event registration] sofastack × CSDN jointly held the open source series meetup, which was launched on June 24

设CPU有16根地址线,8根数据线,并用MREQ作为访存控制线号......存储器与CPU的连接

Basic process of code scanning login
Redis learning notes - data type: hash
![[SUCTF 2019]CheckIn](/img/0e/75bb14e7a3e55ddc5126581a663bfb.png)
[SUCTF 2019]CheckIn
Redis learning notes pipeline
Redis学习笔记—数据类型:字符串(string)

Redis learning notes - client communication protocol resp
随机推荐
[GXYCTF2019]BabyUpload
Combination sum II of leetcode topic analysis
ionic5錶單輸入框和單選按鈕
Structure binary tree from preorder and inorder traversal for leetcode topic analysis
Community article | mosn building subset optimization ideas sharing
Redis learning notes - geographic information location (GEO)
全局快门和卷帘快门的区别
如何在 FlowUs、Notion 等笔记软件中使用「番茄工作法」?
cooding代码库的使用笔记
A 32KB cache with direct mapping Memory exercises after class
Redis learning notes - publish and subscribe
Node request module cookie usage
Redis学习笔记—Redis与Lua
16.系统启动流程
How to use "tomato working method" in flowus, notation and other note taking software?
The sliding window of the force button "step by step" (209. sub array with the smallest length, 904. fruit basket)
web--信息泄漏
2022.6.22-----leetcode. five hundred and thirteen
Simple student management
[geek Challenge 2019] hardsql