From 32a66c07c3cb70bb6daf05de17993aaafbe987c5 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Thu, 21 Jan 2021 20:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=20=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=90=9C=E7=B4=A2=E5=AE=8C=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=90=8E=E9=A1=B5=E9=9D=A2=E4=BC=9A=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=88=B7=E6=96=B0=E8=BF=94=E5=9B=9E=E5=88=B0=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E9=A1=B5=EF=BC=8C=E9=80=A0=E6=88=90=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E4=B8=8D=E6=96=B9=E4=BE=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/pages/property/listParkingSpace/listParkingSpace.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/pages/property/listParkingSpace/listParkingSpace.js b/public/pages/property/listParkingSpace/listParkingSpace.js index fcff125c6..802827b6e 100644 --- a/public/pages/property/listParkingSpace/listParkingSpace.js +++ b/public/pages/property/listParkingSpace/listParkingSpace.js @@ -15,7 +15,8 @@ paId:'', areaNum: '', state:'' - } + }, + currentPage:DEFAULT_PAGE } }, _initMethod: function () { @@ -23,7 +24,7 @@ }, _initEvent: function () { vc.on('listParkingSpace', 'listParkingSpaceData', function () { - vc.component._listParkingSpaceData(DEFAULT_PAGE, DEFAULT_ROWS); + vc.component._listParkingSpaceData($that.listParkingSpaceInfo.currentPage, DEFAULT_ROWS); vc.component.listParkingSpaceInfo.num = ''; }); vc.on('listParkingSpace', 'chooseParkingArea', function (_parkingArea) { @@ -38,6 +39,7 @@ vc.component.listParkingSpaceInfo.num = ''; }); vc.on('pagination', 'page_event', function (_currentPage) { + $that.listParkingSpaceInfo.currentPage = _currentPage; vc.component._listParkingSpaceData(_currentPage, DEFAULT_ROWS); }); },