$.ajax({ type:"post",
url: "/menu/delete",
data: {"id":$("#operateMenuOfNodeId").val()},
success:function(data){ if(data.success == true){
toastr.success(data.message);
window.location.reload();
}else{
toastr.error(data.message);
}
}, error:function(){
toastr.error("服務器錯誤");
}
});
toastr.success(data.message);這個是彈出一個消息框,但是由于跳轉了頁面,沒有顯示出來,我想要的效果是跳
如何彈出插件的消息框,才跳轉頁面?
阿波羅的戰車
2018-07-18 15:03:31