基于cookie模式下,剔除所有的上传文件的x-token头
This commit is contained in:
@@ -56,9 +56,6 @@ const editorConfig = {
|
||||
}
|
||||
editorConfig.MENU_CONF['uploadImage'] = {
|
||||
fieldName: 'file',
|
||||
headers: {
|
||||
'x-token': userStore.token,
|
||||
},
|
||||
server: basePath + '/fileUploadAndDownload/upload?noSave=1',
|
||||
customInsert(res, insertFn) {
|
||||
if (res.code === 0) {
|
||||
|
||||
Reference in New Issue
Block a user