JS push对象
var zoom = page.maps.maps._map.getZoom(), centerPoint = page.maps.maps._map.getCenter(); data = $("#form").serializeArray(); data.push( { name: 'Hierarchy', value:zoom },{ name: "CentraLongitude", value: centerPoint.x }, { name: "CenterLatitude", value: centerPoint.y } );
push对象的方法。
posted on 2017-07-17 16:57 BadGirl_Xiao 阅读(371) 评论(0) 编辑 收藏 举报