html接受后台传的数据也是和jsp一样的啊,之前还以为不同呢
var consignmentItems= ${consignmentItem};
var sysTransferName = "${sysName}";
var shipToId="${shipToId}";
var shipToName="${shipToName}";
后台传的代码
model.addObject("consignmentItem", consignmentItem); model.addObject("shipToId", shipToId); model.addObject("shipToName", shipToName); model.addObject("sysName",sysTransferName);