修改了CopyTo方法,使用反射可以将列表的内容也可以复制

This commit is contained in:
2025-06-24 20:48:38 +08:00
parent 8fcd2fdf2a
commit f76e88b330
9 changed files with 230 additions and 43 deletions

View File

@@ -23,6 +23,6 @@ public partial class DeviceDialogViewModel : ObservableObject
[RelayCommand]
public void AddDevice()
{
device.CopyTo<Device>(_saveDevice);
device.CopyTo(_saveDevice);
}
}