升级弹窗功能优化

This commit is contained in:
jia 2023-09-13 20:38:28 +08:00
parent 5bcaa5425f
commit ffd37bda10
2 changed files with 5 additions and 7 deletions

View File

@ -2,8 +2,8 @@
"name" : "惠农生活",
"appid" : "__UNI__3A527D1",
"description" : "",
"versionName" : "1.3.6",
"versionCode" : 136,
"versionName" : "1.3.8",
"versionCode" : 138,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@ -117,7 +117,6 @@ const actions = {
} else {
apptype = 1
}
Appversion({
version: os.appWgtVersion,
type: apptype,
@ -134,13 +133,12 @@ const actions = {
if (res.data.appInfo.phone_brand.length > 0) {
if (plus.os.name == "Android") {
// 跳转安卓应用市场
let appurl = res.data.appInfo.
.dow_url //这个是通用应用市场如果想指定某个应用商店需要单独查这个应用商店的包名或scheme及参数
let appurl = res.data.appInfo.dow_url //这个是通用应用市场如果想指定某个应用商店需要单独查这个应用商店的包名或scheme及参数
plus.runtime.openURL(appurl)
} else {
// 跳转AppStore
// 跳转AppStore
plus.runtime.launchApplication({
action: res.data.appInfo..dow_url,
action: res.data.appInfo.dow_url,
})
}
} else {