mirror of https://gitee.com/y_project/RuoYi.git
文件上传控件消息头添加csrf-token
parent
4bbeb34a0f
commit
33a1f1e373
|
@ -6449,7 +6449,9 @@
|
|||
otherActionButtons: '',
|
||||
textEncoding: 'UTF-8',
|
||||
preProcessUpload: null,
|
||||
ajaxSettings: {},
|
||||
ajaxSettings: { headers: {
|
||||
"csrf_token": document.querySelector('meta[name="csrf-token"]').content
|
||||
}},
|
||||
ajaxDeleteSettings: {},
|
||||
showAjaxErrorDetails: true,
|
||||
mergeAjaxCallbacks: false,
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue