You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
240 B
17 lines
240 B
import { proxy } from "./proxy";
|
|
|
|
export default {
|
|
// 根地址
|
|
host: proxy["/prod/"].target,
|
|
|
|
// 请求地址
|
|
get baseUrl() {
|
|
// #ifdef H5
|
|
return "/api";
|
|
// #endif
|
|
|
|
// #ifndef H5
|
|
return this.host + "/api";
|
|
// #endif
|
|
},
|
|
};
|
|
|