From 3844a1676eeda012e7d06d810078fe8347a8aead Mon Sep 17 00:00:00 2001 From: marvzhang Date: Fri, 7 Feb 2020 11:18:37 +0800 Subject: [PATCH 1/5] fixed https://github.com/crawlab-team/crawlab/issues/519 --- frontend/src/views/schedule/ScheduleList.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/views/schedule/ScheduleList.vue b/frontend/src/views/schedule/ScheduleList.vue index f200f6bf..3b0d85da 100644 --- a/frontend/src/views/schedule/ScheduleList.vue +++ b/frontend/src/views/schedule/ScheduleList.vue @@ -84,7 +84,7 @@ - + @@ -94,8 +94,6 @@ ref="cron" v-model="scheduleForm.cron" :placeholder="`${$t('[minute] [hour] [day] [month] [day of week]')}`" - @focus="isShowCron = true" - @blur="isShowCron = false" > From 71eb4618758f4880f861db3774921d1653bbe908 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Fri, 7 Feb 2020 11:22:42 +0800 Subject: [PATCH 2/5] fixed https://github.com/crawlab-team/crawlab/issues/295 --- Dockerfile.local | 2 +- frontend/src/components/TableView/TaskTableView.vue | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile.local b/Dockerfile.local index 3957d154..ccc803d6 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -15,7 +15,7 @@ WORKDIR /app # install frontend RUN npm config set unsafe-perm true -RUN npm install -g yarn && yarn install --registry=https://registry.npm.taobao.org # --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ +RUN npm install -g cnpm && cnpm install RUN npm run build:prod diff --git a/frontend/src/components/TableView/TaskTableView.vue b/frontend/src/components/TableView/TaskTableView.vue index 56abfab8..54984e04 100644 --- a/frontend/src/components/TableView/TaskTableView.vue +++ b/frontend/src/components/TableView/TaskTableView.vue @@ -15,6 +15,11 @@ {{scope.row.spider_name}} + + +