1 个回答

参考:

const context: common.UIAbilityContext = getContext(this) as common.UIAbilityContext;
let want: Want = {
  bundleName: 'com.huawei.hmos.settings',
  abilityName: 'com.huawei.hmos.settings.MainAbility',
  // 根据”设置”应用配置的界面信息,选择不同的uri
  uri: 'location_manager_settings'
};
logo
HarmonyOS
子站问答
访问
宣传栏