wangguoyu 1 月之前
父節點
當前提交
c24ab4dc49
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      pages/login/index.vue

+ 4 - 3
pages/login/index.vue

@@ -155,7 +155,8 @@
 			} = systemInfo;
 			const androidPackage = 'com.llisoft.ezy'; // 安卓包名
 			let storeScheme = '';
-			let storeWebUrl = '';
+			let storeWebUrl = '';
+			toast(brand.toLowerCase())
 			switch (brand.toLowerCase()) {
 				case 'huawei':
 					storeScheme = `appmarket://details?id=${androidPackage}`;
@@ -182,9 +183,9 @@
 					break;
 			}
 			plus.runtime.openURL(storeScheme, (error) => {
-				console.log('调起应用商店失败,尝试网页链接', error);
+				toast('调起应用商店失败,尝试网页链接');
 				plus.runtime.openURL(storeWebUrl, (webError) => {
-					console.error('网页链接失败', webError);
+					toast('网页链接失败');
 					initDownload(updateUrl.value)
 					// plus.runtime.openURL(updateUrl.value, (webError) => {
 					//   uni.showToast({