修复bug

This commit is contained in:
marvzhang
2019-11-29 13:00:19 +08:00
parent 638a52dc2f
commit 76a47df2c5
2 changed files with 4 additions and 0 deletions

View File

@@ -225,6 +225,9 @@ export default {
// 获取Spiderfile
this.getSpiderfile()
// 获取config
this.$store.dispatch('spider/getSpiderData', this.spiderForm._id)
}, 0)
}
},

View File

@@ -356,6 +356,7 @@ 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}`)
this.$st.sendEv('爬虫', '添加爬虫-可配置爬虫')
})