From 006c98e5650b530e5220f279c1e803fefe69d40d Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期二, 25 十一月 2025 15:47:33 +0800
Subject: [PATCH] 优化一些东西;

---
 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