diff --git a/DM_Weight/App.config b/DM_Weight/App.config index eab09b1..1726b99 100644 --- a/DM_Weight/App.config +++ b/DM_Weight/App.config @@ -3,7 +3,7 @@ - + - + diff --git a/DM_Weight/Views/SelfTakeDrugWindow.xaml b/DM_Weight/Views/SelfTakeDrugWindow.xaml index ae459e2..c97c302 100644 --- a/DM_Weight/Views/SelfTakeDrugWindow.xaml +++ b/DM_Weight/Views/SelfTakeDrugWindow.xaml @@ -9,6 +9,7 @@ xmlns:i="http://schemas.microsoft.com/xaml/behaviors" xmlns:convert="clr-namespace:DM_Weight.Converter" xmlns:prism="http://prismlibrary.com/" + xmlns:pagination="clr-namespace:DM_Weight.Components.pagination" mc:Ignorable="d"> @@ -22,6 +23,7 @@ + @@ -103,7 +105,9 @@ + + + diff --git a/DM_Weight/util/SqlSugarHelper.cs b/DM_Weight/util/SqlSugarHelper.cs index 0f99316..740329f 100644 --- a/DM_Weight/util/SqlSugarHelper.cs +++ b/DM_Weight/util/SqlSugarHelper.cs @@ -11,7 +11,7 @@ namespace DM_Weight.util ConnectionString = ConfigurationManager.ConnectionStrings["database"].ToString(), DbType = DbType.MySql, - IsAutoCloseConnection = true + IsAutoCloseConnection = false }, db => {