|
@@ -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({
|