diff --git a/src/api/theme.js b/src/api/theme.js index fb3f99d1..db5c0447 100644 --- a/src/api/theme.js +++ b/src/api/theme.js @@ -110,9 +110,9 @@ themeApi.saveContent = (path, content) => { return service({ url: `${baseUrl}/files/content`, params: { - path: path, - content: content + path: path }, + data: content, method: 'put' }) }