public AdvancedPageViewModel(INavigationService navigationService, IPermissionsService permissionsService, IDialogService dialogService ) : base(navigationService, dialogService) { _permissionsService = permissionsService; Title = "高级设置"; //后台运行设置 this.BackgroundOperationCommand = ReactiveCommand.Create(() => { _permissionsService.BackgroundOperationSetting(); }); //电池优化设置 this.BatteryOptimizationCommand = ReactiveCommand.Create(() => { _permissionsService.BatteryOptimizationSetting(); }); }