可以使用want进行跳转let want: Want = { bundleName: ‘com.huawei.hmos.settings’, abilityName: ‘com.huawei.hmos.settings.MainAbility’}want概述:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/want-overview-0000001774279658–获取当前系统是否已经打开通知权限的回调方法可以使用notificationManager.requestEnableNotificationAPI参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references/js-apis-notificationmanager-0000001860296589\#ZH-CN\_TOPIC\_0000001860296589\_\_notificationmanagerrequestenablenotification-1通知消息的开发指南:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/push-dev-0000001727885258
可以使用want进行跳转let want: Want = { bundleName: ‘com.huawei.hmos.settings’, abilityName: ‘com.huawei.hmos.settings.MainAbility’}want概述:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/want-overview-0000001774279658
–获取当前系统是否已经打开通知权限的回调方法可以使用notificationManager.requestEnableNotificationAPI参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references/js-apis-notificationmanager-0000001860296589\#ZH-CN\_TOPIC\_0000001860296589\_\_notificationmanagerrequestenablenotification-1
通知消息的开发指南:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/push-dev-0000001727885258