当前位置:网站首页>uniapp folding box secondary loop
uniapp folding box secondary loop
2022-07-30 23:14:00 【Hel1x】
uni-collapse
I stepped on some pits with collapse when I made a WeChat applet
Use secondary loop directly
each foldThe same item appears in all boxes
Solutions tried
Import subcomponent, pass value
but the child component does not render
Determine whether it is selected and update the secondary list
This solution can show which one is displayed
But because my secondary list data comes from http request
The asynchronous request will cause the secondary list to be rendered before it is updated
Select when judging and add a secondary list
Add data to the second-level list when requesting data
Use a two-dimensional array and locate it according to the incoming first-level list index
This solution can solve the problem
The source code will be posted later
边栏推荐
猜你喜欢
随机推荐
leetcode(刷题篇13)
leetcode:127. 单词接龙
proemthues 服务发现配置
Go语学习笔记 - gorm使用 - 表增删改查 Web框架Gin(八)
mysql跨库关联查询(dblink)
解决一个Mysql的utf8编码导致的问题
如何在 AWS 中应用 DevOps 方法?
mysql锁机制
Go语学习笔记 - gorm使用 - 事务操作 Web框架Gin(十一)
PyTorch模型导出到ONNX文件示例(LeNet-5)
CPM:A large-scale generative chinese pre-trained lanuage model
电脑快捷方式图标变白解决方案
uniapp折叠框二级循环
Compressing Deep Graph Neural Networks via Adversarial Knowledge Distillation
grub learning
Apache Doris系列之:深入认识实时分析型数据库Apache Doris
Lambda表达式
# # yyds dry goods inventory interview will brush TOP101: to determine whether there is a part of the list
Reverse linked list - in-place inversion method
【MySQL】MySQL中对数据库及表的相关操作

![[MySQL] DQL related operations](/img/a5/c92e0404c6a970a62595bc7a3b68cd.gif)







