当前位置:网站首页>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
边栏推荐
- [CISCN2019 华北赛区 Day2 Web1]Hack World
- @Response
- C#之Lambda不得不说的用法
- Redis learning notes - detailed explanation of redis benchmark
- 在小程序中实现视频通话及互动直播的一种方法
- [GXYCTF2019]BabySQli
- Redis learning notes - transactions
- Leetcode topic analysis contains duplicate III
- MySQL fault case | mysqldump: couldn't execute 'select column_ NAME
- Best time to buy and sell stock II
猜你喜欢
随机推荐
[learning resources] understand and love mathematics
如何在 FlowUs、Notion 等笔记软件中使用「番茄工作法」?
2022-06-22:golang选择题,以下golang代码输出什么?A:3;B:1;C:4;D:编译失败。
Map接口的注意事项
'coach, I want to play basketball!'—— AI Learning Series booklet for system students
多线程初学
June 22, 2022: golang multiple choice question, what does the following golang code output? A:3; B:1; C:4; D: Compilation failed.
Node request module cookie usage
4sum of leetcode topic analysis
js 用**遮罩身份证以及手机号的重要数据
披萨订购设计----简单工厂模式
[MRCTF2020]Ez_ bypass
一个采用直接映射方式的32KB缓存......存储器课后习题
Cookie和Session入门
[極客大挑戰 2019]HardSQL
Lua的基本使用
Redis learning notes - publish and subscribe
Redis learning notes - transactions
RGB and CMYK color modes
嵌入式系统概述(学习笔记)


![[geek Challenge 2019] hardsql](/img/73/ebfb410296b8e950c9ac0cf00adc17.png)
![[wangdingbei 2020 Qinglong formation]areuserialz](/img/38/b67f7a42abec1cdaad02f2b7df6546.png)

