feat: 针对不同平台添加升级提示,优化用户体验
This commit is contained in:
parent
11a75699e7
commit
e882aef71e
@ -325,11 +325,20 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
const upgrade = () => {
|
const upgrade = () => {
|
||||||
|
// #ifdef MP
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '小程序暂不支持升级功能,请下载星星锁APP进行升级',
|
content: '小程序暂不支持升级功能,请下载星星锁APP进行升级',
|
||||||
showCancel: false
|
showCancel: false
|
||||||
})
|
})
|
||||||
|
// #endif
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
uni.showModal({
|
||||||
|
title: '提示',
|
||||||
|
content: '星星锁Lite暂不支持升级功能,请下载星星锁APP进行升级',
|
||||||
|
showCancel: false
|
||||||
|
})
|
||||||
|
// #endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const asyncSetting = async () => {
|
const asyncSetting = async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user