From 3d4ee2bd4cae44a47f94a6f378611f4acae1b0e9 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Tue, 25 Aug 2020 11:50:45 +0800 Subject: [PATCH] fixing bug --- pageE/setting/updateVersion.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pageE/setting/updateVersion.vue b/pageE/setting/updateVersion.vue index 4a65869..86884a7 100644 --- a/pageE/setting/updateVersion.vue +++ b/pageE/setting/updateVersion.vue @@ -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();