feat: 优化初始化缓存及控件功能
This commit is contained in:
@@ -466,7 +466,8 @@ namespace Lskj.Control.MultiModelLookUp
|
||||
}
|
||||
}
|
||||
}
|
||||
SetCustomColumns();
|
||||
|
||||
//SetCustomColumns();
|
||||
}
|
||||
#endregion
|
||||
#region 加载自定义列
|
||||
@@ -481,7 +482,7 @@ namespace Lskj.Control.MultiModelLookUp
|
||||
/// </summary>
|
||||
private void SetCustomColumns()
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.CurrentOperColumnKey) || !BaseImpl.HasExistsTable(ResourceKeys.SettingTableName)) return;
|
||||
if (string.IsNullOrEmpty(this.CurrentOperColumnKey)) return;
|
||||
|
||||
DataTable customTable = this.gcMain.GridView.GetCustomColumnByDatabase(this.CurrentOperColumnKey);
|
||||
if (customTable != null && customTable.Rows.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user