mirror of
https://gitee.com/layui/layui.git
synced 2025-10-15 18:55:04 +08:00
修复table的tips问题 (#68)
This commit is contained in:
@@ -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'){
|
||||
|
Reference in New Issue
Block a user