xujing пре 5 година
родитељ
комит
ab4b8a4550

+ 1
- 1
src/pages/statistical/activity/detail.jsx Прегледај датотеку

@@ -37,7 +37,7 @@ function record(props) {
37 37
     // 查询列表
38 38
     const getList = (params) => {
39 39
         request({ ...apis.stats.activityDetail, params: { ...params }, }).then((data) => {
40
-            setData((data || []).reverse())
40
+            setData((data || []).slice().reverse())
41 41
             setChartsData(data)
42 42
             updataLoading(false)
43 43
         }).catch(err => {

+ 1
- 2
src/pages/statistical/consultant/index.jsx Прегледај датотеку

@@ -385,7 +385,7 @@ function record(props) {
385 385
     return (
386 386
 
387 387
         <>
388
-            <Icon type="question-circle" theme="filled" style={{ fontSize: '25px', color: '#F00',marginBottom:'10px' }} onClick={() => setVisible(true)} />
388
+            <Icon type="question-circle" theme="filled" style={{ fontSize: '25px', color: '#F00', marginBottom: '10px' }} onClick={() => setVisible(true)} />
389 389
             <Modal
390 390
                 title="指标说明(数据会存在一定时间延迟)"
391 391
                 centered
@@ -437,7 +437,6 @@ function record(props) {
437 437
                 </Button>
438 438
             </AuthButton>
439 439
             <Table rowKey={(index => { index })}
440
-            {/* <Table rowKey={record => (record.userId + record.buildingId || '')} */}
441 440
                 style={{ marginTop: '30px' }}
442 441
                 dataSource={_list}
443 442
                 // dataSource={data.records}