wip
This commit is contained in:
@@ -132,7 +132,7 @@ public partial class DevicesViewModel : ViewModelBase, INavigatable
|
||||
// 添加null检查
|
||||
if (_wpfDataService != null && _wpfDataService.DeviceDataService != null)
|
||||
{
|
||||
var addDto = await _wpfDataService.DeviceDataService.AddDevice(dto);
|
||||
var addDto = await _wpfDataService.DeviceDataService.AddDeviceAsync(dto);
|
||||
|
||||
// 添加null检查
|
||||
if (addDto != null && addDto.Device != null && _notificationService != null)
|
||||
|
||||
Reference in New Issue
Block a user