Commit 2372854774afa987c3b85e85bd03077f1ad45d25
1 parent
9b644468
线上线下订单修改
Showing
1 changed file
with
6 additions
and
2 deletions
pages/user/order_list/order_list.js
... | ... | @@ -1399,7 +1399,11 @@ Page({ |
1399 | 1399 | let startDate = this.data.startDate; |
1400 | 1400 | let endDate = this.data.endDate; |
1401 | 1401 | |
1402 | - this.data.is_no_data2 = 0; | |
1402 | + // this.data.is_no_data2 = 0; | |
1403 | + this.setData({ | |
1404 | + currentPage2: 1, | |
1405 | + list2: [], | |
1406 | + }); | |
1403 | 1407 | |
1404 | 1408 | |
1405 | 1409 | if(startDate == '选择开始时间' || endDate == '选择结束时间') { |
... | ... | @@ -1414,7 +1418,7 @@ Page({ |
1414 | 1418 | title: '不对噢!开始时间不能晚于结束时间~', |
1415 | 1419 | icon: 'none', |
1416 | 1420 | }) |
1417 | - return false; | |
1421 | + return; | |
1418 | 1422 | }; |
1419 | 1423 | |
1420 | 1424 | ... | ... |