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

master
wenjy 2 years ago
parent a5a6aa74e9
commit ac335160a9

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

Loading…
Cancel
Save