Merge pull request 'fixing bug' (#294) from zhy into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/294
This commit is contained in:
hansu 2020-08-25 11:51:13 +08:00
commit e3e470ab88

View File

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