this.shareInfo.token ? 1 : this.qrcode ? 1 : 0
if( this.qrcode=1){
this.shareInfo.token==1
}else{
this.shareInfo.token=0
}
对比一下
this.shareInfo.token ? 1 : this.qrcode ? 1 : 0
if( this.qrcode=1){
this.shareInfo.token==1
}else{
this.shareInfo.token=0
}
对比一下