diff --git a/src/lay/modules/table.js b/src/lay/modules/table.js index bc23d312..4ce759cc 100644 --- a/src/lay/modules/table.js +++ b/src/lay/modules/table.js @@ -841,7 +841,7 @@ layui.define(['laytpl', 'laypage', 'layer', 'form'], function(exports){ } //如果出现省略,则可查看更多 - if(elemCell.prop('scrollWidth') > elemCell.outerWidth()){ + if(Math.round(elemCell.prop('scrollWidth')) > Math.round(elemCell.outerWidth())){ that.tipsIndex = layer.tips([ '