提交 9cfbc0cb 编写于 作者: W wanganxp

修改升级中心的错误提示语

上级 0f9d7b15
......@@ -30,7 +30,7 @@ export type UniUpgradeCenterResult = {
}
export default function (): Promise<UniUpgradeCenterResult> {
// #ifdef APP-PLUS
// #ifdef APP
return new Promise<UniUpgradeCenterResult>((resolve, reject) => {
const systemInfo = uni.getSystemInfoSync()
const appId = systemInfo.appId
......@@ -94,7 +94,7 @@ export default function (): Promise<UniUpgradeCenterResult> {
reject(e.message)
}
} else {
reject('plus.runtime.appid is EMPTY')
reject('invalid appid or appVersion')
}
// #endif
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册