基于cookie模式下,剔除所有的上传文件的x-token头

This commit is contained in:
piexlMax
2024-01-05 23:13:04 +08:00
parent 1a04bb535d
commit 26fa047fe4
6 changed files with 8 additions and 15 deletions
@@ -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) {