|
|
@ -66,8 +66,9 @@ const Control = (props) => { |
|
|
|
dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => { |
|
|
|
if (res.success) setWorkData(res.payload.data) |
|
|
|
}) |
|
|
|
dispatch(getConsoleAbnormal({ pepProjectId: pepProjectId })).then(res => { |
|
|
|
if (res.success) setProblemsList(...res.payload.data,...res.payload.data) |
|
|
|
dispatch(control.getConsoleAbnormal({ pepProjectId: pepProjectId })).then(res => { |
|
|
|
console.log(res.payload.data); |
|
|
|
if (res.success) setProblemsList([...res.payload.data,...res.payload.data]) |
|
|
|
}) |
|
|
|
}, [pepProjectId]) |
|
|
|
|
|
|
|