mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 03:10:48 +08:00
fixed patch换成put方法,js
This commit is contained in:
@@ -63,7 +63,7 @@ $(document).on('turbolinks:load', function() {
|
||||
|
||||
if(!valid) return;
|
||||
$.ajax({
|
||||
method: 'PATCH',
|
||||
method: 'PUT',
|
||||
dataType: 'json',
|
||||
url: $form.attr('action'),
|
||||
data: new FormData($form[0]),
|
||||
|
||||
Reference in New Issue
Block a user