mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
Merge pull request #321 from zhangweiii/master
fix Cannot read property length of null when first init
This commit is contained in:
@@ -274,7 +274,7 @@ export default {
|
||||
// 爬虫列表
|
||||
request.get('/spiders', {})
|
||||
.then(response => {
|
||||
this.spiderList = response.data.data.list
|
||||
this.spiderList = response.data.data.list || []
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user