diff --git a/js/pagejs/guidance.js b/js/pagejs/guidance.js index f61d41c..69edcff 100644 --- a/js/pagejs/guidance.js +++ b/js/pagejs/guidance.js @@ -524,6 +524,8 @@ $(function () { list_wrap_height(); } else { $('#list_wrap').css('height', 'auto'); + $('#list_wrap').perfectScrollbar('destroy'); + $('#list_wrap').perfectScrollbar(); } console.log('请求数据ajax'); diff --git a/js/pagejs/parkquery.js b/js/pagejs/parkquery.js index 5cac043..22b2064 100644 --- a/js/pagejs/parkquery.js +++ b/js/pagejs/parkquery.js @@ -529,6 +529,8 @@ $(function () { list_wrap_height(); } else { $('#list_wrap').css('height', 'auto'); + $('#list_wrap').perfectScrollbar('destroy'); + $('#list_wrap').perfectScrollbar(); } // console.log('请求数据ajax');