1、在已打开的HBuilder工具中,点击文件菜单,新建uni-app项目

3、在<script></script>标签中,使用export default,初始化变量items和current

5、获取json对象obj中的rows,使用for语句循环,将属性装载到items数组中

时间:2024-10-12 06:30:42
1、在已打开的HBuilder工具中,点击文件菜单,新建uni-app项目
3、在<script></script>标签中,使用export default,初始化变量items和current
5、获取json对象obj中的rows,使用for语句循环,将属性装载到items数组中