From 339d9ef546b68ec98c300cf6cff2b6a1f423ab7b Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Wed, 29 Nov 2017 13:41:10 +0800 Subject: [PATCH] . --- ButcherManageClient/Login.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 } } }