可通过如下方式跳转到系统设置页面:let context = getContext(this) as common.UIAbilityContext;let want: Want = {bundleName: 'com.huawei.hmos.settings',//设置应用bundleNameabilityName: 'com.huawei.hmos.settings.MainAbility',//设置应用abilityNameuri: "xxx",// 对应的功能uriparameters: {pushParams: {bundleName:context.abilityInfo.bundleName//拉起方应用包名}}};context.startAbility(want)详情请参考文档:https://developer.huawei.com/consumer/cn/forum/topic/02081773...
可通过如下方式跳转到系统设置页面:
let context = getContext(this) as common.UIAbilityContext;
let want: Want = {
bundleName: 'com.huawei.hmos.settings',//设置应用bundleName
abilityName: 'com.huawei.hmos.settings.MainAbility',//设置应用abilityName
uri: "xxx",// 对应的功能uri
parameters: {
pushParams: {
bundleName:context.abilityInfo.bundleName//拉起方应用包名
}
}
};
context.startAbility(want)
详情请参考文档:https://developer.huawei.com/consumer/cn/forum/topic/02081773...