当前位置:网站首页>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
边栏推荐
- Apache Doris series: detailed steps for installation and deployment
- 【MySQL】Mysql事务以及权限管理
- Go1.18升级功能 - 模糊测试Fuzz 从零开始Go语言
- MySQL的一个问题
- 成功解决ImportError: cannot import name ‘_validate_lengths‘
- Compressing Deep Graph Neural Networks via Adversarial Knowledge Distillation
- 【Untitled】
- Go1.18升级功能 - 泛型 从零开始Go语言
- win10重建索引
- Golang go-redis cluster模式下不断创建新连接,效率下降问题解决
猜你喜欢

Reverse linked list - head insertion inversion method

抽象类和接口(学习笔记)

Week 19 Progress (Understanding IoT Basics)

Gxlcms audio novel system/novel listening system source code

微软商店出现【0x800706D9】解决方法

雪佛兰开拓者,安全保障温暖你的家庭出行的第一选择

Lambda表达式

Go语学习笔记 - gorm使用 - 事务操作 Web框架Gin(十一)

Reverse linked list - in-place inversion method

#yyds干货盘点# 面试必刷TOP101:判断链表中是否有环
随机推荐
【2022-05-31】JS逆向之易企秀
数据清洗-使用es的ingest
(WebFlux)001、如何自定义注解实现功能
Apache Doris系列之:安装与部署详细步骤
Py之pdpbox:pdpbox的简介、安装、案例应用之详细攻略
The problem of sticky packets in tcp protocol transmission
【飞控开发基础教程10】疯壳·开源编队无人机-PID 基础原理
Go的Gin框架学习
[MySQL] DQL related operations
“蔚来杯“2022牛客暑期多校训练营4 L.Black Hole 垃圾计算几何
mysql跨库关联查询(dblink)
Py's pdpbox: a detailed introduction to pdpbox, installation, and case application
leetcode 406. Queue Reconstruction by Height 根据身高重建队列(中等)
proemthues 服务发现配置
[0x800706D9] solution appears in Microsoft Store
"NIO Cup" 2022 Nioke Summer Multi-School Training Camp 4 DHKLN
Week 19 Progress (Understanding IoT Basics)
【CTF】buuctf web 详解(持续更新)
Excel basic study notes
Calico 网络通信原理揭秘