[{"cid":"1","name":"图书","pid":"0","type":"1"},{"cid":"2","name":"音像","pid":"0","type":"1"},{"cid":"3","name":"电子书","pid":"0","type":"1"},{"cid":"4","name":"家用电器","pid":"0","type":"2"}]这是我的一段json怎么用js将type相等的分在一起并且输出成一个数组
添加回答
举报
0/150
提交
取消