【发布时间】:2019-04-10 21:06:18
【问题描述】:
我想在jsrender模板中实现数据的加、乘、除。例如,
{{:num1 * (-1.0)}} - {{:num2}} + {{:num3}}
以上在我的以下情况下不起作用:
<circle r="25%" cx="50%" cy="50%" style="stroke-dasharray: {{:num3}} 100; stroke: orange; stroke-dashoffset: {{:num1 * (-1.0)}} - {{:num2}}- {{:num3}}">
</circle>
【问题讨论】:
标签: jsrender