From d3f652c4852f7c93437d7480d19de9bc64d07f5e Mon Sep 17 00:00:00 2001 From: liuwf Date: Fri, 29 Dec 2023 10:51:13 +0800 Subject: [PATCH] change. --- Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs b/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs index 40ce2a7d..1f8804bf 100644 --- a/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs +++ b/Aucma.Core.OldBoxFoam/ViewModels/RealRoadPageViewModel.cs @@ -24,7 +24,7 @@ namespace Aucma.Core.OldBoxFoam.ViewModels public RealRoadPageViewModel() { _boxFoamPlanServices = App.ServiceProvider.GetService(); - WeakReferenceMessenger.Default.Register(this, Recive); + InitData(); }