mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
修复删除后获取所有爬虫的bug
This commit is contained in:
@@ -531,8 +531,8 @@ export default {
|
||||
this.$message.error(this.$t('Something wrong happened'))
|
||||
return
|
||||
}
|
||||
await this.$store.dispatch('spider/getSpiderList')
|
||||
this.$router.push(`/spiders/${res2.data.data._id}`)
|
||||
await this.$store.dispatch('spider/getSpiderList')
|
||||
this.$st.sendEv('爬虫列表', '添加爬虫', '可配置爬虫')
|
||||
})
|
||||
},
|
||||
@@ -546,8 +546,8 @@ export default {
|
||||
this.$message.error(this.$t('Something wrong happened'))
|
||||
return
|
||||
}
|
||||
await this.$store.dispatch('spider/getSpiderList')
|
||||
this.$router.push(`/spiders/${res2.data.data._id}`)
|
||||
await this.$store.dispatch('spider/getSpiderList')
|
||||
this.$st.sendEv('爬虫列表', '添加爬虫', '自定义爬虫')
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user