公告板
版本库
filestore
活动
搜索
登录
jingshen
/
cool-admin-uniapp
京申-小程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
first commit
wangzhibo
4 天以前
10595d8632f959d0954d1939243196f4eed02372
[jingshen/cool-admin-uniapp.git]
/
config
/
prod.ts
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
},
};