版本更新
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
var versionUpdate = function(){
|
var versionUpdate = function(){
|
||||||
var isAndroid = isAndroidUser();
|
var isAndroid = isAndroidUser();
|
||||||
alert("变成安卓了")
|
|
||||||
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
|
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
|
||||||
inf.version;
|
inf.version;
|
||||||
localVersion =inf.version;
|
localVersion =inf.version;
|
||||||
@@ -11,7 +10,7 @@ var versionUpdate = function(){
|
|||||||
downApp()
|
downApp()
|
||||||
}else{
|
}else{
|
||||||
plus.nativeUI.showWaiting("版本更新中...");
|
plus.nativeUI.showWaiting("版本更新中...");
|
||||||
var url='https://itunes.apple.com/cn/app/id1341557643?mt=8';// HelloH5应用在appstore的地址
|
var url='https://itunes.apple.com/cn/app/id1341557643?mt=8';
|
||||||
plus.runtime.openURL(url);
|
plus.runtime.openURL(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user