fixing bug #294

Merged
hansu merged 1 commits from zhy into master 2020-08-25 03:51:14 +00:00

View File

@ -31,7 +31,7 @@
this.closeModal(); this.closeModal();
}, },
confirm() { confirm() {
// ifdef APP-PLUS // #ifdef APP-PLUS
if (plus.os.name == "Android") { if (plus.os.name == "Android") {
const appurl = "market://details?id=自己打包用的包名"; //scheme const appurl = "market://details?id=自己打包用的包名"; //scheme
plus.runtime.openURL(appurl); plus.runtime.openURL(appurl);
@ -39,10 +39,10 @@
const appurl = "itms-apps://itunes.apple.com/cn/app/id1144816653?mt=8"; const appurl = "itms-apps://itunes.apple.com/cn/app/id1144816653?mt=8";
plus.runtime.openURL(appurl); plus.runtime.openURL(appurl);
} }
// endif // #endif
// ifndef H5 // #ifdef H5
this.closeModal(); this.closeModal();
// endif // #endif
}, },
closeModal() { closeModal() {
uni.navigateBack(); uni.navigateBack();