|
@@ -41,9 +41,14 @@ export default (props) => {
|
41
|
41
|
pageSize: 10,
|
42
|
42
|
...(type !== undefined ? dict[type] : null),
|
43
|
43
|
}).then((res) => {
|
44
|
|
- setList(
|
45
|
|
- pageNum === 1 ? res.records || [] : list.concat(res.records || [])
|
46
|
|
- );
|
|
44
|
+ if (pageNum === 1) {
|
|
45
|
+ setList(res.records || [])
|
|
46
|
+ } else {
|
|
47
|
+ setList(res.records || [])
|
|
48
|
+ }
|
|
49
|
+ // setList(
|
|
50
|
+ // pageNum === 1 ? res.records || [] : list.concat(res.records || [])
|
|
51
|
+ // );
|
47
|
52
|
setHasNextPage(res.current < res.pages);
|
48
|
53
|
setLoading(false)
|
49
|
54
|
|
|
@@ -89,6 +94,7 @@ export default (props) => {
|
89
|
94
|
// 触发页面刷新
|
90
|
95
|
setNumber({ pageNum: 1 })
|
91
|
96
|
setShowCutover(false)
|
|
97
|
+ console.log('------------------handleFinishEvaluate------------------------------');
|
92
|
98
|
}
|
93
|
99
|
|
94
|
100
|
return (
|