"...admin-console/src/main/resources/application.properties" did not exist on "688100f96642b6adc0d0ed10188e87811314b375"
Commit 245cd9dd authored by 季圣华's avatar 季圣华
Browse files

修复公共js的bug

parent 4d613006
......@@ -57,10 +57,12 @@
}
function dgResize() {
var searchTabHeight = $('#searchTable').height();
$('#tableData').datagrid('resize', {
width: $(window).width() - 6,
height: $(window).height() - searchTabHeight -46
});
if($('#tableData').length) {
$('#tableData').datagrid('resize', {
width: $(window).width() - 6,
height: $(window).height() - searchTabHeight -46
});
}
}
$(window).resize(function () {
dgResize();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment