编辑表格:表格中服务端数据的多元属性值不允许删除

This commit is contained in:
datagear 2019-02-12 14:09:37 +08:00
parent 1d9d6e3f3b
commit a2ae57763f
1 changed files with 3 additions and 0 deletions

View File

@ -911,7 +911,10 @@ WebUtils.setPageId(request, gridPageId);
{
//只允许集合属性值在初始值的基础上添加因此当为null时即是恢复为初始值
if(!myPropertyValue || ($.isArray(myPropertyValue) && myPropertyValue.length == 0))
{
myPropertyValue = originalCellValue;
propertyValue = originalCellValue;
}
}
var changed = true;