项目需要配置的地方添加 FIXME 环境配置 注释方便查找
This commit is contained in:
parent
64b4fe31a3
commit
95a485cfc4
4
TODOs.md
4
TODOs.md
@ -45,6 +45,10 @@ Java代码中小程序AppID、密钥处理,小程序代码中小程序AppID处
|
||||
# TODO 全部域名配置的地方添加 FIXME 环境配置
|
||||
|
||||
|
||||
# VSCode 全局搜索排除
|
||||
|
||||
node_modules,./postman-collection,target,out,.idea,@deprecated
|
||||
|
||||
# host 文件地址
|
||||
|
||||
C:\Windows\System32\drivers\etc
|
||||
|
@ -11,6 +11,13 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--
|
||||
FIXME 环境配置
|
||||
|
||||
src
|
||||
- 线上环境:"https://epp.only4.work/access/index.html?inElectron=true"
|
||||
- 开发环境:"http://localhost/access/index.html?inElectron=true"
|
||||
-->
|
||||
<iframe src="https://epp.only4.work/access/index.html?inElectron=true" frameborder="0"></iframe>
|
||||
<script src="./renderer.js" type="module"></script>
|
||||
</body>
|
||||
|
@ -22,6 +22,12 @@ export default {
|
||||
/**
|
||||
* 后端接口请求地址
|
||||
* (结尾加不加 / 都可)
|
||||
*
|
||||
* FIXME 环境配置
|
||||
*
|
||||
* backendHost
|
||||
* - 线上环境:"https://epp.only4.work/"
|
||||
* - 开发环境:"http://localhost/"
|
||||
*/
|
||||
backendHost: "//epp.only4.work/",
|
||||
backendHost: "http://localhost/",
|
||||
};
|
||||
|
@ -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
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user