修改url

This commit is contained in:
14651
2025-08-15 16:26:06 +08:00
parent 2462260bb3
commit cbabebc174
3 changed files with 17 additions and 14 deletions

View File

@@ -2,10 +2,10 @@
import {
getToken
} from '@/utils/auth';
import config from '@/config'
const BASE_URL = (() => {
// #ifdef H5
return 'http://localhost:8088';
return config.baseUrl;
// #endif
// #ifndef H5
// return 'http://192.168.x.x:8088'; // 换成你的电脑 IP