fixed unable to click crawl button on spider page for configurable spiders

This commit is contained in:
marvzhang
2020-01-17 13:52:52 +08:00
parent 09885c4d45
commit da69a10acf
2 changed files with 12 additions and 5 deletions

View File

@@ -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'