From e769d3752380f7bf57f1705963ecb40908e055c4 Mon Sep 17 00:00:00 2001 From: lostelk Date: Tue, 21 Jan 2025 15:12:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(IconSelect=20component):=20:bug:=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=8AIconSelect=E3=80=8B=E5=88=87?= =?UTF-8?q?=E6=8D=A2=20Tab=20name=E4=B8=A2=E5=A4=B1=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84element=E5=9B=BE=E6=A0=87=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IconSelect/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/IconSelect/index.vue b/src/components/IconSelect/index.vue index 44a4a8ba..006158a1 100644 --- a/src/components/IconSelect/index.vue +++ b/src/components/IconSelect/index.vue @@ -126,7 +126,7 @@ function loadIcons() { } function handleTabClick(tabPane: any) { - activeTab.value = tabPane.name; + activeTab.value = tabPane.props.name; filterIcons(); } -- Gitee From dbf118a7f97dd88d291e19dc3bbae5cc188b343f Mon Sep 17 00:00:00 2001 From: lostelk Date: Tue, 21 Jan 2025 15:30:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(IconSelect=20components):=20:bug:=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=8AIconSelect=E3=80=8B=E5=88=87?= =?UTF-8?q?=E6=8D=A2=20Tab=20name=E4=B8=A2=E5=A4=B1=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84element=E5=9B=BE=E6=A0=87=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auth/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/auth/index.ts b/src/api/auth/index.ts index 64fb97b2..ec95620c 100644 --- a/src/api/auth/index.ts +++ b/src/api/auth/index.ts @@ -22,17 +22,19 @@ const AuthAPI = { /** 刷新 token 接口*/ refreshToken(refreshToken: string) { + const formData = new FormData(); + formData.append("refreshToken", refreshToken); return request({ url: `${AUTH_BASE_URL}/refresh-token`, method: "post", - params: { refreshToken: refreshToken }, + data: formData, headers: { Authorization: "no-auth", }, }); }, - /** 注销登录接口 */ + /** 注销接口 */ logout() { return request({ url: `${AUTH_BASE_URL}/logout`, -- Gitee