mirror of
				https://github.com/bufanyun/hotgo.git
				synced 2025-11-04 08:13:45 +08:00 
			
		
		
		
	Merge pull request #115 from qiuyier/bugfix/issue-109
fix(src/api/base/index.ts): 富文本无法上传图片
This commit is contained in:
		@@ -16,6 +16,7 @@ export function UploadImage(params) {
 | 
			
		||||
  const headers = {
 | 
			
		||||
    Authorization: useUserStore.token,
 | 
			
		||||
    uploadType: 'default',
 | 
			
		||||
    'Content-Type': 'multipart/form-data',
 | 
			
		||||
  };
 | 
			
		||||
  return http.request({
 | 
			
		||||
    url: '/upload/file',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user