fix(#IYHWE): 修复Online页面明细按钮弹出框table边框丢失问题

#Issue
Close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IYHWE
This commit is contained in:
Argo Zhang 2019-06-28 12:48:28 +08:00
parent ea2fe0f536
commit 30f50dd9bd
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 2 additions and 2 deletions

View File

@ -46,13 +46,13 @@ $(function () {
}).join('');
content = content === '' ?
'已断开' :
$.format('<div class="fixed-table-container"><table class="table table-hover table-sm mb-0"><thead><tr><th class="p-1"><b>访问时间</b></th><th class="p-1">访问地址</th></tr></thead><tbody>{0}</tbody></table></div>', content);
$.format('<div class="bootstrap-table" style="margin: 4px 0;"><div class="fixed-table-container"><div class="fixed-table-body"><table class="table table-bordered table-hover"><thead><tr><th class="p-1"><b>访问时间</b></th><th class="p-1">访问地址</th></tr></thead><tbody>{0}</tbody></table></div></div></div>', content);
$this.popover({ content: content, placement: $(window).width() < 768 ? 'top' : 'left' });
$this.popover('show');
}
});
}
}).on('mouseup', 'button[data-id]', function(){
}).on('mouseup', 'button[data-id]', function () {
$(this).focus();
});