From 65fb96d8e42b51e379b2df6d8ecfd23487fdfac3 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期一, 12 九月 2022 16:43:06 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/cstmr/cstmr.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/cstmr/cstmr.js b/src/main/webapp/static/js/cstmr/cstmr.js index 09adc9b..603e30f 100644 --- a/src/main/webapp/static/js/cstmr/cstmr.js +++ b/src/main/webapp/static/js/cstmr/cstmr.js @@ -1,4 +1,5 @@ var pageCurr; +var pageCount; layui.config({ base: baseUrl + "/static/layui/lay/modules/" }).extend({ @@ -75,6 +76,7 @@ top.location.href = baseUrl+"/"; } pageCurr=curr; + pageCount = count; limit(); } }); @@ -194,7 +196,7 @@ // 鎼滅储 form.on('submit(search)', function (data) { pageCurr = 1; - tableReload(false); + tableReload(); }); // 鏃堕棿閫夋嫨鍣� @@ -227,7 +229,7 @@ parent.layer.closeAll(); }); -function tableReload(child) { +function tableReload() { var searchData = {}; $.each($('#search-box [name]').serializeArray(), function() { searchData[this.name] = this.value; -- Gitblit v1.9.1