diff --git a/frontend/src/components/Scrapy/SpiderScrapy.vue b/frontend/src/components/Scrapy/SpiderScrapy.vue index b183f72a..38ff3e2b 100644 --- a/frontend/src/components/Scrapy/SpiderScrapy.vue +++ b/frontend/src/components/Scrapy/SpiderScrapy.vue @@ -1,5 +1,6 @@ + + + + + + + + + + + +

{{$t('Scrapy Spiders')}}

@@ -125,6 +138,9 @@
+ + +

{{$t('Settings')}}

@@ -234,6 +250,7 @@
+
@@ -273,7 +290,8 @@ export default { isAddSpiderVisible: false, addSpiderForm: { name: '', - domain: '' + domain: '', + template: 'basic' }, isAddSpiderLoading: false } @@ -392,7 +410,8 @@ export default { onAddSpider () { this.addSpiderForm = { name: '', - domain: '' + domain: '', + template: 'basic' } this.isAddSpiderVisible = true this.$st('爬虫详情', 'Scrapy 设置', '添加爬虫') diff --git a/frontend/src/views/layout/components/Navbar.vue b/frontend/src/views/layout/components/Navbar.vue index 72555bd7..5e380e1b 100644 --- a/frontend/src/views/layout/components/Navbar.vue +++ b/frontend/src/views/layout/components/Navbar.vue @@ -180,7 +180,6 @@ docker-compose up -d }, howToUpgradeHtml () { if (this.lang === 'zh') { - console.log(this.howToUpgradeHtmlZh) return this.converter.makeHtml(this.howToUpgradeHtmlZh) } else if (this.lang === 'en') { return this.converter.makeHtml(this.howToUpgradeHtmlEn) diff --git a/frontend/src/views/spider/SpiderList.vue b/frontend/src/views/spider/SpiderList.vue index ba6751a5..049a9b26 100644 --- a/frontend/src/views/spider/SpiderList.vue +++ b/frontend/src/views/spider/SpiderList.vue @@ -45,7 +45,12 @@ - + @@ -64,18 +69,33 @@ - - - - - - + + + + + + + + + + + + + + + + +