摘要: 如果要在微信小程序wxml中对ES6的Map集合进行wx:for遍历,如下: let map = new Map(); map.set("a",[1,2,3]); map.set("b",[4,5,6]);//设置page data...... <view wx:for="{{map}}" wx:k 阅读全文
posted @ 2022-05-24 11:54 DW039 阅读(2130) 评论(0) 推荐(0)