Add:Cron expression builder advanced view

This commit is contained in:
advplyr 2022-08-17 17:37:20 -05:00
parent 9a57fcad40
commit 0c20988e18
3 changed files with 96 additions and 36 deletions

View file

@ -27,6 +27,10 @@ export default {
methods: {
toggleEnableAutoScan(v) {
if (!v) this.updatedCron(null)
else if (!this.cronExpression) {
this.cronExpression = '0 0 * * 1'
this.updatedCron(this.cronExpression)
}
},
updatedCron(expression) {
this.$emit('update', {