feat: 优化初始化缓存及控件功能
This commit is contained in:
@@ -1062,6 +1062,10 @@ namespace Lskj.Model
|
||||
/// 下方高
|
||||
/// </summary>
|
||||
public int BottomHeight;
|
||||
/// <summary>
|
||||
/// 取消复制新增时触发关联(默认触发,设置为1不触发。ModulePanelEx的复制新增按钮)
|
||||
/// </summary>
|
||||
public bool CancelCopyAssociation;
|
||||
|
||||
#endregion
|
||||
/// <summary>
|
||||
@@ -1258,7 +1262,7 @@ namespace Lskj.Model
|
||||
this.ModuleFrameHeight = rowItem.Table.Columns.Contains("ModuleFrameHeight") && !string.IsNullOrEmpty(rowItem["ModuleFrameHeight"] + "") ? Convert.ToInt32(rowItem["ModuleFrameHeight"] + "") : 0;
|
||||
this.ModuleFrameWidth = rowItem.Table.Columns.Contains("ModuleFrameWidth") && !string.IsNullOrEmpty(rowItem["ModuleFrameWidth"] + "") ? Convert.ToInt32(rowItem["ModuleFrameWidth"] + "") : 0;
|
||||
this.BottomHeight = rowItem.Table.Columns.Contains("BottomHeight") && !string.IsNullOrEmpty(rowItem["BottomHeight"] + "") ? Convert.ToInt32(rowItem["BottomHeight"] + "") : 0;
|
||||
|
||||
this.CancelCopyAssociation = rowItem.Table.Columns.Contains("CancelCopyAssociation") ? !"1".Equals(rowItem["CancelCopyAssociation"] + "") : true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user