diff --git a/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs b/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs index d9da2fc4..05ef35ac 100644 --- a/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs +++ b/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs @@ -111,6 +111,7 @@ namespace FryPot_DosingSystem.ViewModel goto prop; } MessageLog.GetInstance.ShowUserLog($"配方【{RecipeName}】新建成功"); + NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"新建配方【{RecipeName}】成功"); } else { @@ -134,6 +135,7 @@ namespace FryPot_DosingSystem.ViewModel bom.UpdateTime = DateTime.Now.ToShortDateString(); Json.Save(); MessageLog.GetInstance.ShowUserLog($"配方【{RecipeName}】修改成功"); + NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"修改配方【{RecipeName}】成功"); } else { @@ -163,6 +165,7 @@ namespace FryPot_DosingSystem.ViewModel goto prop; } MessageLog.GetInstance.ShowUserLog("另存配方成功"); + NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"另存配方【{RecipeName}】成功"); } else {