Commit 058f5420f39128e1be831be4f98160aecfc963bf
1 parent
b48247a7
安卓手机版本过低判断生产环境和本地环境
Showing
1 changed file
with
5 additions
and
1 deletions
src/pages/pointsMall/pointsMall.vue
| @@ -368,7 +368,11 @@ export default { | @@ -368,7 +368,11 @@ export default { | ||
| 368 | if (this.isiPhone.value || this.isiPad.value) { | 368 | if (this.isiPhone.value || this.isiPad.value) { |
| 369 | window.location.href = "http://itunes.apple.com/cn/app/id1337575478?mt=8"; | 369 | window.location.href = "http://itunes.apple.com/cn/app/id1337575478?mt=8"; |
| 370 | } else if (this.isAndroid.value) { | 370 | } else if (this.isAndroid.value) { |
| 371 | - window.location.href = "http://wjj.ys1.cnliveimg.com/download/ac/1910/strike-1.9.1.0-release.apk"; | 371 | + if(this.mode == "prod"){ |
| 372 | + window.location.href = "http://wjj.ys1.cnliveimg.com/download/ac/1910/strike-1.9.1.0-release.apk"; | ||
| 373 | + }else{ | ||
| 374 | + window.location.href = "http://wjjtest.ys1.cnliveimg.com/download/debug_ac/1910/strike-1.9.1.0-debug.apk"; | ||
| 375 | + } | ||
| 372 | } | 376 | } |
| 373 | }, | 377 | }, |
| 374 | /** | 378 | /** |