huiy
$.ajax({
            url : form.attr(\'action\'),
            type : \'POST\',
            cache : false,
            data : new FormData($(\'#form\')[0]),
            processData : false,
            contentType : false,
            success : function(result) {
                // do something
            }
        });
<form id="form" autocomplete="off" class="form-horizontal"
                    role="form" th:action="@{/app/wuliu/yundan/save/}" enctype="multipart/form-data">

分类:

技术点:

相关文章:

  • 2021-11-20
  • 2021-12-27
  • 2021-12-27
  • 2021-12-27
  • 2021-12-18
  • 2022-12-23
猜你喜欢
  • 2021-12-27
  • 2021-12-27
  • 2021-12-27
  • 2022-02-22
  • 2021-12-27
相关资源
相似解决方案