wangrong
7 小时以前 a611c225b17219e873b60888e03c330fbe0c57a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { host } from "./proxy";
 
export default {
    // 根地址
    host,
 
    // 请求地址
    get baseUrl() {
        // #ifdef H5
        return "/api";
        // #endif
 
        // #ifndef H5
        return this.host + "/api";
        // #endif
    },
};