fix: theme update by upload. (halo-dev/console#299)

pull/3445/head
Ryan Wang 2021-02-25 20:33:00 +08:00 committed by GitHub
parent 1673a673fb
commit b23d32206d
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ themeApi.updateByUpload = (formData, uploadProgress, cancelToken, themeId) => {
data: formData, // form data
onUploadProgress: uploadProgress,
cancelToken: cancelToken,
method: 'post'
method: 'put'
})
}