if you use the trinomial operator in a project, eslint will report an error. How else can this trinomial operation be written?
data () {
return {
open: false,
currentTab: false,
isFolder: this.model.children && this.model.children.length ? true : false
}
},