From fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 17:59:45 +0800
Subject: [PATCH] feat: 集成CAN驱动/模拟器 + 仪器仪表注册/硬件调试模块

---
 HMI.MenuManage/Modal/RoleModal.xaml.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HMI.MenuManage/Modal/RoleModal.xaml.cs b/HMI.MenuManage/Modal/RoleModal.xaml.cs
index 20e2e16..0b8f823 100644
--- a/HMI.MenuManage/Modal/RoleModal.xaml.cs
+++ b/HMI.MenuManage/Modal/RoleModal.xaml.cs
@@ -1,8 +1,8 @@
-锘縰sing HMI.Core.Exceptions;
-using HMI.Core.Util;
+锘縰sing HMI.Core.Util;
 using HMI.MenuManage.Entity;
 using HMI.MenuManage.Util;
 using HMI.UI.DpUtil;
+using HMI.UI.Util;
 using Panuon.WPF.UI;
 using System;
 using System.Collections.ObjectModel;
@@ -60,7 +60,7 @@
                 }
                 catch (Exception ex)
                 {
-                    Panuon.WPF.UI.Toast.Show(this, "Error锛�", ToastPosition.Top);
+                    ToastHelper.Error(this, $"Error锛亄ex.Message}");
                     e.Cancel = true;
                     return;
                 }

--
Gitblit v1.9.1