当前位置:网站首页>The mobile terminal uses the list component of vantui. When multiple tab items are switched back and forth, the list is loaded many times, resulting in the failure of normal display of data
The mobile terminal uses the list component of vantui. When multiple tab items are switched back and forth, the list is loaded many times, resulting in the failure of normal display of data
2022-07-27 15:05:00 【Kratial】
problem : stay tab When switching items :
changTab () {
this.loading = false;
this.finished = false;
this.pageNum = 0
this.list = []
this.onLoad()
}
Problem phenomenon : Loaded the list twice 
Solution :
changTab () {
this.loading = true;
this.finished = false;
this.pageNum = 0
this.list = []
this.onLoad()
}
边栏推荐
- 如果我们是那晚负责修复 B 站崩了的开发人员
- internship:其他配置类的编写
- MySQL save data prompt: out of range value for column error
- 移动端使用vantUI的list组件,多个tab项来回切换时,列表加载多次导致数据无法正常展示
- 【云享读书会第13期】多媒体处理工具 FFmpeg 工具集
- 数据仓库项目从来不是技术项目
- 国信证券手机开户安全吗 中山证券靠谱吗
- Confirm the time accuracy of the power supply setting voltage through the i/o function of vn1630/vn7640
- LeetCode 90. 子集 II 回溯/medium
- 获取Unity打开摄像头第一帧有画面的数据
猜你喜欢

修改frameworks资源文件如何单编

CPU、GPU、NPU的区别

Disk troubleshooting of kubernetes node

图解 SQL,这也太形象了吧

Research on multi label patent classification based on pre training model

LeetCode 面试题 17.21. 直方图的水量 双指针,单调栈/hard

视觉系统设计实例(halcon-winform)-10.PLC通讯

Graphical SQL is too vivid

DirectX 入门知识

Lecture 4: Longest ascending substring
随机推荐
OBS advanced DXGI acquisition screen process, and how to modify it to its own cursor
2022-07-27日报:IJCAI 2022杰出论文公布,大陆作者中稿298篇拿下两项第一
Web page table table, realizing rapid filtering
网络设备硬核技术内幕 路由器篇 16 DPDK及其前传(一)
数据库使用psql及jdbc进行远程连接,不定时自动断开的解决办法
Unity3D学习笔记10——纹理数组
炒黄金开户平台有没有正规,安全的
Redis
Summary of basic knowledge of C language
DirectX 入门知识
如何做好企业系统漏洞评估
Graphic SQL of giant image
网络设备硬核技术内幕 路由器篇 15 从鹿由器到路由器 (下)
SkyWalking分布式系统应用程序性能监控工具-中
LeetCode 781. 森林中的兔子 哈希表/数学问题 medium
网络设备硬核技术内幕 路由器篇 19 DPDK(四)
网络设备硬核技术内幕 路由器篇 9 CISCO ASR9900拆解 (二)
多表查询_练习1&练习2&练习3
Web页面table表格,实现快速筛选
NEFU117 素数个数的位数【素数定理】