回调函数,无法反回空值状态
回调函数。无法反回空值状态
function dr_weburl($value, $param = [], $data = [], $field = []) {
if($field['fieldname']!=''){
$html = "<a href='".$value."' target='_blank'>".$value."</a>";
}
else{
$html = "无内容";
}
return $html;
}
回调函数。无法反回空值状态
function dr_weburl($value, $param = [], $data = [], $field = []) {
if($field['fieldname']!=''){
$html = "<a href='".$value."' target='_blank'>".$value."</a>";
}
else{
$html = "无内容";
}
return $html;
}