通过视图添加两个数值范围的正确方法是什么,例如:
<div>{{this.value}} + {{this.othervalue}}</div>
预期输出为:
<div>2</div>
谢谢。
发布于 2017-07-10 03:35:39
{{this.value + this.othervalue}}
否则,它将输出这些字符串的连接。
https://stackoverflow.com/questions/45000259
相似问题