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(() => {