Explorar el Código

more elegant & unified api

lyc8503 hace 4 años
padre
commit
1f71bf187a
Se han modificado 1 ficheros con 0 adiciones y 6 borrados
  1. 0 6
      frontend_refactor/src/containers/TaskList.js

+ 0 - 6
frontend_refactor/src/containers/TaskList.js

@@ -53,12 +53,6 @@ class TaskList extends React.Component {
 
 
                             }
                             }
 
 
-                            try {
-                                advice = JSON.stringify(details.result.advice)
-                            } catch (e) {
-
-                            }
-
                             return (
                             return (
                                 <Collapse.Panel header={"任务 ID: " + x} key={x}>
                                 <Collapse.Panel header={"任务 ID: " + x} key={x}>
                                     <p>状态: {details.status}</p>
                                     <p>状态: {details.status}</p>