Browse Source

more elegant & unified api

lyc8503 4 years ago
parent
commit
1f71bf187a
1 changed files with 0 additions and 6 deletions
  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 (
                                 <Collapse.Panel header={"任务 ID: " + x} key={x}>
                                     <p>状态: {details.status}</p>