Skip to content

Commit

Permalink
fixed unable to click crawl button on spider page for configurable sp…
Browse files Browse the repository at this point in the history
…iders
  • Loading branch information
tikazyq committed Jan 17, 2020
1 parent 55a5ecd commit 128df1c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/src/views/spider/SpiderList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -508,11 +508,8 @@ export default {
this.dialogVisible = true
},
isShowRun (row) {
if (row.cmd) {
return true
} else {
return false
}
if (!this.isCustomized(row)) return true
return !!row.cmd
},
isCustomized (row) {
return row.type === 'customized'
Expand Down
10 changes: 10 additions & 0 deletions test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Test for Crawlab

## Test Cases

Test Case | Steps | Expected Results
--- | --- | ---
Login | |
Signup | |
Upload Spider | |
Edit Spider File | |

0 comments on commit 128df1c

Please sign in to comment.