forked from p81075629/datagear
解决添加客户端集合属性值元素时,未设置的BLOB属性值保存时表格中显示“BLOB”标签的BUG;
This commit is contained in:
parent
a2ae57763f
commit
a88c25085f
|
@ -845,7 +845,12 @@
|
|||
propertyWidget.getValue = function()
|
||||
{
|
||||
if(options.filePropertyReturnShowableValue)
|
||||
return $.model.toShowableValue($(this.fileInputHidden).val(), options.filePropertyLabelValue);
|
||||
{
|
||||
var value = $(this.fileInputHidden).val();
|
||||
var labelValue = (value ? options.filePropertyLabelValue : "");
|
||||
|
||||
return $.model.toShowableValue(value, labelValue);
|
||||
}
|
||||
else
|
||||
return $(this.fileInputHidden).val();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue