jquery traditional true 的问题

    xiaoxiao2025-10-13  11

    设置jquery 的 traditional参数 实际上是设置 jQuery.param 的traditional 参数,默认为false,当设置为true后,会导致多层次的对象序列化为[object object](浅序列化)

    jQuery.ajaxSettings.traditional = true

    参考文档:http://www.w3school.com.cn/jquery/ajax_param.asp 规定是否使用传统的方式浅层进行序列化(参数序列化)。

    转载请注明原文地址: https://ju.6miu.com/read-1303099.html
    最新回复(0)