后端跳转方法添加
map.put("detailFlag","false");
1.var detailFlag= ${detailFlag};
2.
<div class="col-sm-1" align="right"> <input type="hidden" id="detailFlag" value="${detailFlag}"/> </div>
let pageId =$("#detailFlag").val(); console.log("detailFlag============================" + detailFlag)