这2个判断可以并成一个
if ( type === 1 && this.collect_Status === 0 || type === 2 && this.give_Status === 0 ) { this.setLinkcollect(type); } else { this.dellinkCollect(type); }
2.1m questions
2.1m answers
60 comments
57.0k users