diff --git a/MaterialTraceabilityUI/MainWindow.xaml.cs b/MaterialTraceabilityUI/MainWindow.xaml.cs
index 995e82e..cffc11d 100644
--- a/MaterialTraceabilityUI/MainWindow.xaml.cs
+++ b/MaterialTraceabilityUI/MainWindow.xaml.cs
@@ -273,15 +273,14 @@ namespace MaterialTraceabilityUI
///
private void ConfigPage_Click(object sender, RoutedEventArgs e)
{
- //if (!"2".Equals(ConfigHelper.GetConfig("roleId")))
- //{
- // System.Windows.MessageBox.Show("请登录系统管理账号进行操作");
- //}
- //else
- //{
- // UserContent = configInfo;
- //}
- UserContent = configInfo;
+ if (!"2".Equals(ConfigHelper.GetConfig("roleId")))
+ {
+ System.Windows.MessageBox.Show("请登录系统管理账号进行操作");
+ }
+ else
+ {
+ UserContent = configInfo;
+ }
}
public System.Windows.Controls.UserControl _content;
diff --git a/MaterialTraceabilityUI/SplitSfc.xaml b/MaterialTraceabilityUI/SplitSfc.xaml
index a8f2be0..1713f1f 100644
--- a/MaterialTraceabilityUI/SplitSfc.xaml
+++ b/MaterialTraceabilityUI/SplitSfc.xaml
@@ -113,8 +113,8 @@
-
-
+
+