MrShi
2025-04-23 c8b32b8bca79a116cfab70eb8c389907b664c9ca
admin/src/router/index.js
@@ -111,9 +111,9 @@
    const height3 = getEleHeghtByClassName('main-header', 0)
    // const height4 = getEleHeghtByClassName('table-pagination', 0,-20)
    const height2 = getEleHeghtByClassName('toolbar', 0)
    console.log('defualtlength', document.getElementsByClassName('table-search-form').length)
    // console.log('defualtlength', document.getElementsByClassName('table-search-form').length)
    router.app.$store.commit('setTableHeightNew', height - height4 - height3 - height2 - height1 - height5 - height13)
    console.log('gableHeightNew', router.app.$store.state.tableHeightNew)
    // console.log('gableHeightNew', router.app.$store.state.tableHeightNew)
}
function getEleHeghtByClassName (name, dv, margin) {