mirror of https://github.com/halo-dev/halo-admin
Update theme.js
parent
082daee426
commit
2085b1d6fb
|
@ -110,9 +110,9 @@ themeApi.saveContent = (path, content) => {
|
||||||
return service({
|
return service({
|
||||||
url: `${baseUrl}/files/content`,
|
url: `${baseUrl}/files/content`,
|
||||||
params: {
|
params: {
|
||||||
path: path,
|
path: path
|
||||||
content: content
|
|
||||||
},
|
},
|
||||||
|
data: content,
|
||||||
method: 'put'
|
method: 'put'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue