摘要: this.test((res)=>{ console.log(res);//接受的回调参数 }) test(callback){ if(true){ callback("Y"); }else{ callback("N") } } 阅读全文
posted @ 2020-04-13 09:57 小白咚 阅读(312) 评论(0) 推荐(0)