Data, not body, you dolt.
This commit is contained in:
parent
d7a64c07f9
commit
99a5cbfc26
|
@ -219,7 +219,7 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method : 'POST',
|
method : 'POST',
|
||||||
url : '/dir',
|
url : '/dir',
|
||||||
body : JSON.stringify({ dir : dir}),
|
data : JSON.stringify({ dir : dir}),
|
||||||
contentType: 'application/json',
|
contentType: 'application/json',
|
||||||
dataType : 'json',
|
dataType : 'json',
|
||||||
success : web.setDirSuccess
|
success : web.setDirSuccess
|
||||||
|
|
Loading…
Reference in New Issue