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