js接收model.addAttribute返回的list数据

java后台:
  List policeList = trafficPoliceService.queryPoliceByMap(map);
        model.addAttribute("policeList", JSON.toJSONString(policeList));
        return displayModelAndView("xzpbList");
页面:

                    
                    

你可能感兴趣的:(前端)