瀏覽代碼

feat: 假数据修改

nobody 2 年之前
父節點
當前提交
f80314ca67
共有 1 個文件被更改,包括 5 次插入1 次删除
  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) {
     // if (data.code === 200) {
     //   setLogData(data.data.handle_msg)
     //   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(() => {
   useEffect(() => {
     fetchOnceJoblog()
     fetchOnceJoblog()