微信小程序如何操作数组?

2024-11-22 11:33:38
推荐回答(2个)
回答1:

var a = [["a","b","c"],["d","e"],["1","2","3"]]
var b= ["4","5","6"]
a.push(b)
console.log(a)

直接用push()就可以了

回答2:

这个嘛很简单呀,这个就是你微信设置问题吧,你可以直接自己去操作一下就可以了吧