修复删除后获取所有爬虫的bug

This commit is contained in:
marvzhang
2020-01-30 11:19:56 +08:00
parent 51b0e83e9a
commit 40b8348abe

View File

@@ -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('爬虫列表', '添加爬虫', '自定义爬虫')
})
},