JS如何遍历Object中的所有属性?var params = "";for(var i in baseParams){params += "&" + i + "=" + baseParams[i];}