修复table的tips问题 (#68)
This commit is contained in:
parent
5919c5683c
commit
5841f69e0f
@ -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([
|
||||
'<div class="layui-table-tips-main" style="margin-top: -'+ (elemCell.height() + 16) +'px;'+ function(){
|
||||
if(config.size === 'sm'){
|
||||
|
Loading…
Reference in New Issue
Block a user