diff --git a/ButcherManageClient/Login.cs b/ButcherManageClient/Login.cs index 6d99a7b..3266d46 100644 --- a/ButcherManageClient/Login.cs +++ b/ButcherManageClient/Login.cs @@ -66,7 +66,7 @@ namespace ButcherManageClient ButcherAppContext.Context.UserConfig.Connection = false; } var form = AfterLoginUtil.CreateForm(ButcherAppContext.Context.UserConfig.Role); -// var form = AfterLoginUtil.CreateForm("配货员"); + // var form = AfterLoginUtil.CreateForm("配货员"); if (form == null) throw new Exception("权限不符"); form.FormClosing += delegate { SubFormClosing(); }; @@ -141,7 +141,9 @@ namespace ButcherManageClient private void Login_Load(object sender, EventArgs e) { - //AutoUpdate(); +#if !DEBUG + AutoUpdate(); +#endif } } }