From eb33f1cbae8ac6d0b5f776eac83ae25ca0fd1542 Mon Sep 17 00:00:00 2001 From: cencus Date: Tue, 24 Jun 2025 13:03:07 +0000 Subject: [PATCH] =?UTF-8?q?productViewManager.loadProduct=E6=96=B9?= =?UTF-8?q?=E6=A1=88=E9=83=A8=E5=88=86=E8=AE=BE=E5=A4=87=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9=E5=AE=9E=E7=8E=B0=E6=96=B9?= =?UTF-8?q?=E6=A1=88=20=E5=8F=82=E8=80=83IR241211150505025=E9=83=A8?= =?UTF-8?q?=E5=88=86=E8=AE=BE=E5=A4=87=E5=AD=98=E5=9C=A8=E6=8B=89=E8=B5=B7?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cencus --- entry/src/main/ets/pages/Index.ets | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index 7068246..99cfbd7 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -98,16 +98,7 @@ struct Index { }); }); this.functionsMap.set('appgallery://pages/toMarketDetailPage', () => { - try { - const want: Want = { - parameters: { - bundleName: 'com.huawei.hmsapp.appgallery' - } - }; - productViewManager.loadProduct(this.context, want); - } catch (err) { - Logger.error(`err: ${err.code} ${err.message}`); - } + this.context.openLink('https://appgallery.huawei.com/app/detail?id=com.huawei.hmsapp.appgallery'); }); this.functionsMap.set('cross-device://pages/crossDevice', () => { try { -- Gitee