this.test((res)=>{
console.log(res);//接受的回调参数
})
test(callback){
if(true){
callback("Y");
}else{
callback("N")
}
}
this.test((res)=>{
console.log(res);//接受的回调参数
})
test(callback){
if(true){
callback("Y");
}else{
callback("N")
}
}
319
695
1994

被折叠的 条评论
为什么被折叠?