mirror of https://gitee.com/y_project/RuoYi.git
文件上传控件消息头添加csrf-token
parent
be94b429b6
commit
a1f7f6d1ff
|
@ -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