Merge pull request #1100 from ramiresviana/fixes-3

This commit is contained in:
Oleg Lobanov
2020-10-01 16:53:35 +02:00
committed by GitHub
6 changed files with 52 additions and 26 deletions

View File

@@ -16,7 +16,11 @@ export default {
return this.commands.join(' ')
},
set (value) {
this.$emit('update:commands', value.split(' '))
if (value !== '') {
this.$emit('update:commands', value.split(' '))
} else {
this.$emit('update:commands', [])
}
}
}
}