我真的很挣扎于以下问题:
<td class="left {{tableStyle}}" {{background}} >{{value}}</td>
还有我的JS代码:
{'background':'style="background-color:red;"' }
这会导致无法在“Element”上执行“setAttribute”:“style=”background-color:red;””不是有效的属性名称。
我尝试仅插入值(style={{data{{)等,但这甚至无法运行。