|
@@ -6,7 +6,7 @@ require('./modal.js');
|
|
|
|
|
|
// const layui = require('layui-src');
|
|
|
const {api} = require('./api.js')
|
|
|
-const {post,getCookie,emptyBox} = require('./utils.js')
|
|
|
+const {post,getCookie,emptyBox,isMac} = require('./utils.js')
|
|
|
function setTbaleInfoHei(){
|
|
|
|
|
|
$(".tableInfo").css({
|
|
@@ -60,7 +60,8 @@ function renderTab(){
|
|
|
$('.tableInfo table').html(str?str:emptyBox())
|
|
|
const tableInfoBox = $(".tableInfo").height()
|
|
|
const tableInfoHei = $(".tableInfo table").height()
|
|
|
- if(tableInfoHei > tableInfoBox){
|
|
|
+ const mac = isMac()
|
|
|
+ if(mac&&tableInfoHei > tableInfoBox){
|
|
|
$(".tableTitle").css("paddingRight", 15+'px')
|
|
|
}
|
|
|
// bindInput()
|