提交 ef3717a4 编写于 作者: 雪洛's avatar 雪洛

fix(uniCloud): tencent cloud space provider error

上级 86e26b07
......@@ -98,6 +98,9 @@ function initUniCloudEnv() {
spaces.forEach((s) => uniCloudSpaces.push(s))
process.env.UNI_CLOUD_PROVIDER = JSON.stringify(
uniCloudSpaces.map((space) => {
if (space.provider === 'tcb') {
space.provider = 'tencent'
}
if (space.clientSecret) {
return {
provider: space.provider || 'aliyun',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册