From 2085b1d6fb469b7f947e5d7b1c448aa10e661a81 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Thu, 16 May 2019 23:14:02 +0800 Subject: [PATCH] Update theme.js --- src/api/theme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' }) }