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({
|
||||
method : 'POST',
|
||||
url : '/dir',
|
||||
body : JSON.stringify({ dir : dir}),
|
||||
data : JSON.stringify({ dir : dir}),
|
||||
contentType: 'application/json',
|
||||
dataType : 'json',
|
||||
success : web.setDirSuccess
|
||||
|
|
Loading…
Reference in New Issue