diff --git a/README.md b/README.md index b3e9cc78..ea6214cc 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ ## 🐶 新手必读 +* nodejs > 16.0.0 && pnpm > 7.30.0 * 演示地址: * 启动文档: * 视频教程: diff --git a/package.json b/package.json index 6309ddc9..8fd1a0eb 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "windicss": "^3.5.6" }, "engines": { - "node": ">=16.18.0" + "node": ">=16.0.0" }, "license": "MIT", "repository": { diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts index afe75d8a..fb205a6b 100644 --- a/src/config/axios/service.ts +++ b/src/config/axios/service.ts @@ -230,7 +230,7 @@ const handleAuthorized = () => { wsCache.clear() removeToken() isRelogin.show = false - window.location.href = '/' + window.location.href = import.meta.env.VITE_BASE_PATH }) } return Promise.reject(t('sys.api.timeoutMessage'))