Refactor: UmiJs -> Vite (#12410)

### What problem does this PR solve?

Refactor: UmiJs -> Vite+React

### Type of change

- [x] Refactoring

---------

Co-authored-by: Liu An <asiro@qq.com>
This commit is contained in:
chanx
2026-01-04 19:14:20 +08:00
committed by GitHub
parent 2c10ccd622
commit a8a060676a
168 changed files with 12808 additions and 23476 deletions

View File

@ -59,5 +59,6 @@ export default storage;
// Will not jump to the login page
export function redirectToLogin() {
window.location.href = location.origin + `/login`;
const env = import.meta.env;
window.location.href = location.origin + env.VITE_BASE_URL + `/login`;
}