修改url
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user