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(); },