📜  ajax 成功后清除缓存 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:22.189000             🧑  作者: Mango

代码示例1
$.ajax({
    type: "POST",
    async: true,
    url: "/manage/update_position/",
    data: {
        "action": action.
        "model": model,
        "object_id": object_id,
        "position": position
    },
    cache: false,
    dataType: "json",
    success: function(data){
        //[snip]
    }
});