diff --git a/index.html b/index.html index 11603f8..19758e3 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,16 @@ - - - - - Vite App - - -
- - - + + + + + + violin-home + + + +
+ + + + \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico index df36fcf..ee0185d 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/blog.ts b/src/api/blog.ts index 606e9c7..a11f8f1 100644 --- a/src/api/blog.ts +++ b/src/api/blog.ts @@ -57,14 +57,14 @@ const getContent = (id: string) => { }) } -const newBlog = (params: Object) => { +const newBlog = (postData: Object) => { return request({ url: '/author/blog/createContent', method: 'post', headers: { 'Content-Type': 'application/json;charsetset=UTF-8' }, - data: params + data: postData }) } diff --git a/src/components/layout/Layout.vue b/src/components/layout/Layout.vue index 5c5c0e3..6a73509 100644 --- a/src/components/layout/Layout.vue +++ b/src/components/layout/Layout.vue @@ -1,13 +1,12 @@