维护项目代码
发现别人的写法
this.triggerEvent('myevent1', {
classid: index == 0 ? this.data.classid == 2 ? 1 : this.data.classid == 1 ? 2 : '' : this.data.classid == 2 ? 3 : this.data.classid == 1 ? 4 : '',
index: this.data.index1,
})
有没有哪位小伙伴解读下判断逻辑是怎样的?