diff --git a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue index 14e42e0c4f1d2de25f3795a626043c718ed50bbd..defda4735bd71ce9019321c87eb125cb59a13489 100644 --- a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue +++ b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue @@ -228,7 +228,7 @@ .sort((cur: StoreListItem, next: StoreListItem): number => next.priority - cur.priority) .map((item: StoreListItem): string => item.scheme) .reduce((promise: Promise, cur: string): Promise => { - openSchemePromise = promise.catch((): Promise => openSchema(cur)) + openSchemePromise = promise.catch((): Promise => openSchema(cur)) return openSchemePromise! }, openSchemePromise!) return openSchemePromise! diff --git a/uni_modules/uni-upgrade-center-app/utils/check-update.ts b/uni_modules/uni-upgrade-center-app/utils/check-update.ts index bbaed13fb04b62b5701c11b5b0310dcb062b5d2c..d8ecf2d2c89660640c89c50c335da213bd6bd708 100644 --- a/uni_modules/uni-upgrade-center-app/utils/check-update.ts +++ b/uni_modules/uni-upgrade-center-app/utils/check-update.ts @@ -177,7 +177,7 @@ function updateUseModal(packageInfo : UniUpgradeCenterResult) : void { fail: err => { uni.showModal({ title: '更新失败', - content: err.message, + content: err.errMsg, showCancel: false }); }