perf: 支持易盾RCDN部署

This commit is contained in:
xiaojunnuo
2025-03-09 01:08:57 +08:00
parent 746d3c97c3
commit 065713cdb6
6 changed files with 30 additions and 15 deletions

View File

@@ -109,8 +109,8 @@ function createService() {
error.message += `: ${error.response?.config?.url}`;
errorLog(error, error?.response?.config?.showErrorNotify);
if (status === 401) {
// const userStore = useUserStore();
// userStore.logout();
const userStore = useUserStore();
userStore.logout();
}
if (error?.config?.onError) {