From 4f238dc1a32c488616585e62407c536d6f4bb1c8 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 25 Mar 2025 12:57:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20AliyunAuthDialog=20?= =?UTF-8?q?=E5=92=8C=20U115AuthDialog=20=E4=B8=AD=E7=9A=84=20refreshToken?= =?UTF-8?q?=20=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialog/AliyunAuthDialog.vue | 19 ------------------- src/components/dialog/U115AuthDialog.vue | 20 -------------------- 2 files changed, 39 deletions(-) diff --git a/src/components/dialog/AliyunAuthDialog.vue b/src/components/dialog/AliyunAuthDialog.vue index b7d9d17f..aa24555b 100644 --- a/src/components/dialog/AliyunAuthDialog.vue +++ b/src/components/dialog/AliyunAuthDialog.vue @@ -34,9 +34,6 @@ let timeoutTimer: NodeJS.Timeout | undefined = undefined // 完成 async function handleDone() { clearTimeout(timeoutTimer) - if (props.conf?.refreshToken) { - await savaAliPanConfig() - } emit('done') } @@ -88,15 +85,6 @@ async function checkQrcode() { } } -// 保存cookie设置 -async function savaAliPanConfig() { - try { - await api.post(`storage/save/alipan`, props.conf) - } catch (e) { - console.error(e) - } -} - onMounted(async () => { await getQrcode() }) @@ -118,13 +106,6 @@ onUnmounted(() => {