updated CHANGELOG

This commit is contained in:
marvzhang
2020-03-29 09:22:08 +08:00
parent fa05253a31
commit 50bd3fd1dd
8 changed files with 30 additions and 12 deletions

View File

@@ -15,10 +15,16 @@ export default {
'scheduleForm'
])
},
methods: {
update () {
this.isFilterSpiderDisabled = true
this.$set(this.filter, 'spider_id', this.scheduleForm.spider_id)
this.filter.schedule_id = this.scheduleForm._id
this.$store.dispatch('task/getTaskList')
}
},
async created () {
this.isFilterSpiderDisabled = true
this.filter.spider_id = this.scheduleForm.spider_id
await this.$store.dispatch('task/getTaskList')
this.update()
}
}
</script>