easyui里面相应列为
{field:'image',title:'礼品图片',width:150,height:80,align:'left',
formatter:function(value, rec){//使用formatter格式化刷子
return '<img src='+value+'/>';
}},
其中,image保存的是图片路径,但是无法显示,请人回答下,谢谢
------解决思路----------------------
return "<img src='"+basePath+"/img/attachment_green.png' width='20px' height='20px'/>";
basePath 是jsp上自定义的本服务器路径