提交 ebf71740 编写于 作者: D DCloud_LXH

feat: update 升级中心 to 0.7.1

上级 a066f5c6
## 0.7.1(2023-11-17)
- 修复 运行至浏览器 ts 语法报错
## 0.7.0(2023-11-10) ## 0.7.0(2023-11-10)
- 新增 兼容 uni-app x 项目 [详情](https://uniapp.dcloud.net.cn/uniCloud/upgrade-center.html) - 新增 兼容 uni-app x 项目 [详情](https://uniapp.dcloud.net.cn/uniCloud/upgrade-center.html)
## 0.6.5(2023-10-27) ## 0.6.5(2023-10-27)
......
{ {
"id": "uni-upgrade-center-app", "id": "uni-upgrade-center-app",
"displayName": "升级中心 uni-upgrade-center - App", "displayName": "升级中心 uni-upgrade-center - App",
"version": "0.7.0", "version": "0.7.1",
"description": "uni升级中心 - 客户端检查更新", "description": "uni升级中心 - 客户端检查更新",
"keywords": [ "keywords": [
"uniCloud", "uniCloud",
......
...@@ -14,7 +14,6 @@ export default function (component : ComponentPublicInstance | null = null) : Pr ...@@ -14,7 +14,6 @@ export default function (component : ComponentPublicInstance | null = null) : Pr
// #ifndef UNI-APP-X // #ifndef UNI-APP-X
export default function () : Promise<UniUpgradeCenterResult> { export default function () : Promise<UniUpgradeCenterResult> {
// #endif // #endif
// #ifdef APP-PLUS
return new Promise<UniUpgradeCenterResult>((resolve, reject) => { return new Promise<UniUpgradeCenterResult>((resolve, reject) => {
callCheckVersion().then(async (uniUpgradeCenterResult) => { callCheckVersion().then(async (uniUpgradeCenterResult) => {
// NOTE uni-app x 3.96 解构有问题 // NOTE uni-app x 3.96 解构有问题
...@@ -62,7 +61,6 @@ export default function () : Promise<UniUpgradeCenterResult> { ...@@ -62,7 +61,6 @@ export default function () : Promise<UniUpgradeCenterResult> {
reject(err) reject(err)
}) })
}); });
// #endif
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册