mirror of https://gitee.com/stylefeng/guns
修复文件管理页面翻页后 点击图片放大失效
parent
a78bd57053
commit
a17945a66e
|
@ -22,7 +22,7 @@ layui.use(['table', 'form', 'func', 'HttpRequest', 'util', 'upload'], function (
|
||||||
{
|
{
|
||||||
title: '图片', templet: function (d) {
|
title: '图片', templet: function (d) {
|
||||||
var url = d.imgUrl || Feng.ctxPath + '/sysFileInfo/previewByObjectName?fileBucket=' + d.fileBucket + '&fileObjectName=' + d.fileObjectName;
|
var url = d.imgUrl || Feng.ctxPath + '/sysFileInfo/previewByObjectName?fileBucket=' + d.fileBucket + '&fileObjectName=' + d.fileObjectName;
|
||||||
return '<img data-index="' + (d.LAY_INDEX - 1) + '" src="' + url + '" class="tb-img-circle" tb-img alt=""/>';
|
return '<img data-index="' + (d.LAY_TABLE_INDEX - 1) + '" src="' + url + '" class="tb-img-circle" tb-img alt=""/>';
|
||||||
}, align: 'center', unresize: true
|
}, align: 'center', unresize: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue