From 6eee936d7bc2988870bbe21fb1d2b1879baab8d2 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Thu, 19 Dec 2019 10:45:11 +0800 Subject: [PATCH] fixed unable to check is page error for configurable spider --- frontend/src/components/Config/ConfigList.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/Config/ConfigList.vue b/frontend/src/components/Config/ConfigList.vue index 9b274b3b..1e0f7dce 100644 --- a/frontend/src/components/Config/ConfigList.vue +++ b/frontend/src/components/Config/ConfigList.vue @@ -819,12 +819,12 @@ ${f.css || f.xpath} ${f.attr ? ('(' + f.attr + ')') : ''} ${f.next_stage ? (' -- }, onCheckIsList (value, stage) { if (value) { - this.$st('爬虫详情', '配置', '勾选列表页') + this.$st.sendEv('爬虫详情', '配置', '勾选列表页') if (!stage.list_css && !stage.list_xpath) { stage.list_xpath = '//body' } } else { - this.$st('爬虫详情', '配置', '取消勾选列表页') + this.$st.sendEv('爬虫详情', '配置', '取消勾选列表页') stage.list_css = '' stage.list_xpath = '' } @@ -846,12 +846,12 @@ ${f.css || f.xpath} ${f.attr ? ('(' + f.attr + ')') : ''} ${f.next_stage ? (' -- }, onCheckIsPage (value, stage) { if (value) { - this.$st('爬虫详情', '配置', '勾选分页') + this.$st.sendEv('爬虫详情', '配置', '勾选分页') if (!stage.page_css && !stage.page_xpath) { stage.page_xpath = '//body' } } else { - this.$st('爬虫详情', '配置', '取消勾选分页') + this.$st.sendEv('爬虫详情', '配置', '取消勾选分页') stage.page_css = '' stage.page_xpath = '' }