为什么这里@没有赋值给info能换成<p my-customer type="name" info="igor">{{igor}}</p>scope:{
info:"=info"
}就可以了:(
学习是最好的投资!
That’s because you didn’t read the document carefully:
Pay attention to the part I selected, @只针对字符串。你绑定的{{ igor }}, is the result a string? Obviously not.
@
{{ igor }}
That’s because you didn’t read the document carefully: