fyqt.net
当前位置:首页 >> jAvAsCript Es2015 >>

jAvAsCript Es2015

var result =[];var full = [{"text": "a"}, {"text": "b","submenu": [{"text":"black"},{"text": "red"}]}, {"text": "c"}, {"text": "d","submenu": [{"text": "blue"},{ "text": "pink"}]} ];var part = ["a", "pink", "black"]; for(var y=0;y

这是个json字符串吧,query是json字符串的一个属性对象,包括一个数组对象。

网站首页 | 网站地图
All rights reserved Powered by www.fyqt.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com