This commit is contained in:
dap
2024-08-26 14:46:57 +08:00
3 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ function handleUpdate(value: BuiltinThemeType) {
<template>
<div class="group relative flex items-center overflow-hidden">
<div
class="ease-ou flex w-0 overflow-hidden transition-all duration-500 group-hover:w-60"
class="flex w-0 overflow-hidden transition-all duration-500 ease-out group-hover:w-60"
>
<template v-for="preset in COLOR_PRESETS" :key="preset.color">
<VbenIconButton

View File

@@ -60,6 +60,8 @@ export const authenticateResponseInterceptor = ({
client.refreshTokenQueue.forEach((callback) => callback(''));
client.refreshTokenQueue = [];
console.error('Refresh token failed, please login again.');
await doReAuthenticate();
throw refreshError;
} finally {
client.isRefreshing = false;