用window.location.href來跳轉(zhuǎn)action//點擊事件
function zTreeOnClick(event, treeId, treeNode) {
var categoryId=treeNode.id;
window.location.href="showCategoryProduct.a?categoryId="+categoryId;
}要自己手動刷新一次頁面才執(zhí)行action
window.location.href 只跳轉(zhuǎn)不執(zhí)行action
梵蒂岡之花
2018-07-19 07:04:53