From 10f22aa599ef96cdd327718e1aa291a5bc2c37a5 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Thu, 30 Jan 2020 11:19:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4=E5=90=8E?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=89=80=E6=9C=89=E7=88=AC=E8=99=AB=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/spider/SpiderList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/spider/SpiderList.vue b/frontend/src/views/spider/SpiderList.vue index b068448a..45372b7d 100644 --- a/frontend/src/views/spider/SpiderList.vue +++ b/frontend/src/views/spider/SpiderList.vue @@ -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('爬虫列表', '添加爬虫', '自定义爬虫') }) },