mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-15 10:08:26 +00:00
文件上传控件消息头添加csrf-token
This commit is contained in:
@@ -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
Reference in New Issue
Block a user