diff --git a/README-zh.md b/README-zh.md
index 301b0de0..24d2c36c 100644
--- a/README-zh.md
+++ b/README-zh.md
@@ -59,7 +59,7 @@ Crawlab的架构包括了一个主节点(Master Node)和多个工作节点
前端应用向主节点请求数据,主节点通过MongoDB和Redis来执行任务派发调度以及部署,工作节点收到任务之后,开始执行爬虫任务,并将任务结果储存到MongoDB。架构相对于`v0.3.0`之前的Celery版本有所精简,去除了不必要的节点监控模块Flower,节点监控主要由Redis完成。
-### 主节点 Master Node
+### 主节点
主节点是整个Crawlab架构的核心,属于Crawlab的中控系统。
diff --git a/frontend/src/components/ScrollView/LogItem.vue b/frontend/src/components/ScrollView/LogItem.vue
index 4a5aa168..5850086f 100644
--- a/frontend/src/components/ScrollView/LogItem.vue
+++ b/frontend/src/components/ScrollView/LogItem.vue
@@ -23,17 +23,28 @@ export default {
diff --git a/frontend/src/components/ScrollView/LogView.vue b/frontend/src/components/ScrollView/LogView.vue
index 75eff8be..f7b82f33 100644
--- a/frontend/src/components/ScrollView/LogView.vue
+++ b/frontend/src/components/ScrollView/LogView.vue
@@ -1,6 +1,7 @@
.log-view {
+ margin-top: 0!important;
min-height: 100%;
overflow-y: scroll;
list-style: none;
- }
-
- .log-view .log-line {
- display: flex;
- }
-
- .log-view .log-line:nth-child(odd) {
- }
-
- .log-view .log-line:nth-child(even) {
+ color: #A9B7C6;
+ background: #2B2B2B;
}
diff --git a/frontend/src/i18n/zh.js b/frontend/src/i18n/zh.js
index 7013bda5..c8573bd4 100644
--- a/frontend/src/i18n/zh.js
+++ b/frontend/src/i18n/zh.js
@@ -175,6 +175,7 @@ export default {
'Create Time': '创建时间',
'Start Time': '开始时间',
'Finish Time': '结束时间',
+ 'Update Time': '更新时间',
// 部署
'Time': '时间',
diff --git a/frontend/src/store/modules/user.js b/frontend/src/store/modules/user.js
index 85fe99e1..83433128 100644
--- a/frontend/src/store/modules/user.js
+++ b/frontend/src/store/modules/user.js
@@ -25,6 +25,9 @@ const user = {
const userInfoStr = window.localStorage.getItem('user_info')
if (!userInfoStr) return {}
return JSON.parse(userInfoStr)
+ },
+ token () {
+ return window.localStorage.getItem('token')
}
},
diff --git a/frontend/src/views/spider/SpiderList.vue b/frontend/src/views/spider/SpiderList.vue
index 43e1f141..e5eb36af 100644
--- a/frontend/src/views/spider/SpiderList.vue
+++ b/frontend/src/views/spider/SpiderList.vue
@@ -84,7 +84,9 @@
{{$t('Upload')}}
@@ -229,7 +231,8 @@