change - 参数配置增加点击权限

master
wenjy 2 years ago
parent a5a6aa74e9
commit ac335160a9

@ -271,16 +271,15 @@ namespace MaterialTraceabilityUI
/// <param name="e"></param>
private void ConfigPage_Click(object sender, RoutedEventArgs e)
{
//if (!"2".Equals(ConfigHelper.GetConfig("roleId")))
//{
// System.Windows.MessageBox.Show("请登录系统管理账号进行操作");
//}
//else
//{
// UserContent = configInfo;
//}
if (!"2".Equals(ConfigHelper.GetConfig("roleId")))
{
System.Windows.MessageBox.Show("请登录系统管理账号进行操作");
}
else
{
UserContent = configInfo;
}
}
public System.Windows.Controls.UserControl _content;

Loading…
Cancel
Save