liudong
2024-07-31 633d7dd0cbbd745e1a61c47205c96bbe1fe496d5
src/api/interceptor.ts
@@ -41,7 +41,6 @@
      }
      config.headers.Authorization = `${authorization}`;
    }
    // config.headers.Authorization = 'ImI1ZjBiMTE4NGE5MDExZWZhODMxMDI0MmFjMTIwMDA2Ig.ZqJeng.mxAf4MaEIp_v6jiQqEe3B13xaNE';
    return config;
  },
  (error) => {
@@ -75,7 +74,6 @@
          okText: 'Re-Login',
          async onOk() {
            const userStore = useUserStore();
            await userStore.logout();
            window.location.reload();
          },