Browse Source

feat: 假数据修改

nobody 2 years ago
parent
commit
f80314ca67
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/module/tasklog/component/TaskLogWatcher.jsx

+ 5 - 1
src/module/tasklog/component/TaskLogWatcher.jsx

@@ -26,7 +26,11 @@ const TaskLogWatcher = () => {
     // if (data.code === 200) {
     //   setLogData(data.data.handle_msg)
     // }
-    setLogData('test log 123123123')
+    setLogData(`2022-08-17 09:28:30,1761 "/opt/conda/envs/py38/lib/python3.8/site-packages/pyhive/hive.py",line 449, INFO:USE default
+2022-08-17 09:28:30,1871 "/opt/conda/envs/py38/lib/python3.8/site-packages/pyhive/hive.py",line 449, INFO:USE default
+2022-08-17 09:28:30,2161 "/opt/conda/envs/py38/lib/python3.8/site-packages/pyhive/hive.py",line 449, INFO:describe default.my_test_p
+2022-08-17 09:28:30,2401 "/opt/conda/envs/py38/lib/python3.8/site-packages/pyhive/hive.py",line 449, INFO:describe default.my_test_p
+`)
   }
   useEffect(() => {
     fetchOnceJoblog()