mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
加入settings.py同步
This commit is contained in:
@@ -244,7 +244,11 @@ export default {
|
||||
this.activeParamIndex = index
|
||||
this.onOpenDialog()
|
||||
},
|
||||
onSave () {
|
||||
async onSave () {
|
||||
const res = await this.$store.dispatch('spider/saveSpiderScrapySettings', this.$route.params.id)
|
||||
if (!res.data.error) {
|
||||
this.$message.success(this.$t('Saved successfully'))
|
||||
}
|
||||
},
|
||||
onAdd () {
|
||||
const data = JSON.parse(JSON.stringify(this.spiderScrapySettings))
|
||||
|
||||
Reference in New Issue
Block a user