From 55af157390a17cbddf8f7b22b396d230936672d4 Mon Sep 17 00:00:00 2001 From: AuroraHuang22 Date: Fri, 20 Sep 2024 14:24:42 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Simplify=20post=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/book-api.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/store/book-api.ts b/store/book-api.ts index 302f7914..c898d535 100644 --- a/store/book-api.ts +++ b/store/book-api.ts @@ -36,9 +36,7 @@ export default class BookAPI extends VuexModule { try { const { data } = await axios.post( API_POST_AUTHORIZE, - { - ...signature, - }, + signature, ) const token = (data as any)?.token if (!token) {