let a = 3;
let a = 3;
let b = a === 1 ? '是1' : (a === 2 ? '是2' : '不是1也不是2')
console.log(b); //不是1也不是2
{
all.partner==0?'':(all.partner==1?<span>合作</span>:<span>推广</span>)
}
let a = 3;
let a = 3;
let b = a === 1 ? '是1' : (a === 2 ? '是2' : '不是1也不是2')
console.log(b); //不是1也不是2
{
all.partner==0?'':(all.partner==1?<span>合作</span>:<span>推广</span>)
}