1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

项目需要配置的地方添加 FIXME 环境配置 注释方便查找

This commit is contained in:
2023-04-25 02:17:19 +08:00
parent 64b4fe31a3
commit 95a485cfc4
5 changed files with 26 additions and 4 deletions

View File

@@ -22,9 +22,14 @@ App({
},
globalData: {
// debugMode: true, // 是否展示调试内容
baseUrl: true ? // Api 请求域名 不带最后的 /
"https://epp.only4.work" :
"http://localhost",
/**
* FIXME 环境配置
*
* baseUrl
* - 线上环境:'https://epp.only4.work'
* - 开发环境:'http://localhost'
*/
baseUrl: "http://localhost", // Api 请求域名 不带最后的 /
userInfo: null
}
})