修改开发环境API地址并优化租户管理中营业执照上传功能

This commit is contained in:
WUSIJIAN
2025-12-31 16:25:26 +08:00
parent 499028c2d6
commit 23aac3a09e
3 changed files with 79 additions and 42 deletions

View File

@@ -22,8 +22,9 @@ const service: AxiosInstance = axios.create({
const newService: AxiosInstance = axios.create({
// baseURL: 'http://192.168.3.95:8000/',
// baseURL: 'http://192.168.3.49:8000/',
baseURL: 'http://localhost:8000/',
// baseURL: 'http://localhost:8000/',
// baseURL: 'http://192.168.3.200:8000/',
baseURL: 'http://192.168.3.11:8000/',
timeout: 50000,
headers: { 'Content-Type': 'application/json' },
paramsSerializer: {
@@ -64,9 +65,9 @@ const performLogout = () => {
Session.clear();
localStorage.clear();
isHandlingTokenExpired = false;
// 跳转到登录页,确保完全刷新
// 跳转到后台管理登录页,确保完全刷新
setTimeout(() => {
window.location.href = '/';
window.location.href = '/login';
}, 500);
};