提交 51b3a293 编写于 作者: D DCloud_LXH

feat: 升级中心升级至 0.7.4

上级 3a21b53c
## 0.7.4(2023-11-29)
- 修复 uni-app-x 项目中由上版引发的无法升级的Bug
## 0.7.3(2023-11-27) ## 0.7.3(2023-11-27)
- 修复 在 uni-app x 中无更新时报错的Bug - 修复 在 uni-app x 中无更新时报错的Bug
## 0.7.2(2023-11-20) ## 0.7.2(2023-11-20)
......
{ {
"id": "uni-upgrade-center-app", "id": "uni-upgrade-center-app",
"displayName": "升级中心 uni-upgrade-center - App", "displayName": "升级中心 uni-upgrade-center - App",
"version": "0.7.3", "version": "0.7.4",
"description": "uni升级中心 - 客户端检查更新", "description": "uni升级中心 - 客户端检查更新",
"keywords": [ "keywords": [
"uniCloud", "uniCloud",
......
...@@ -90,10 +90,10 @@ export default function () : Promise<UniUpgradeCenterResult> { ...@@ -90,10 +90,10 @@ export default function () : Promise<UniUpgradeCenterResult> {
code: res.result['code'], code: res.result['code'],
message: res.result['message'] message: res.result['message']
}) })
}
} else { } else {
const result = JSON.parse<UniUpgradeCenterResult>(JSON.stringify(res.result)) as UniUpgradeCenterResult const result = JSON.parse<UniUpgradeCenterResult>(JSON.stringify(res.result)) as UniUpgradeCenterResult
resolve(result) resolve(result)
}
} }
}).catch<void>((err : any | null) => { }).catch<void>((err : any | null) => {
const error = err as UniCloudError const error = err as UniCloudError
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册