2017-10-07 104 views
0

经过不断抛出的错误:Vue的设置合并单元格

<th style="padding-right: 0px;" v-for="n in modelClustersList" colspan="{{modelClustersList.length}}"> 

同类奇怪的,我可以用{{modelClustersList.length}}等地。 Vue中的colspan有点特别吗?

+0

的【如何解决插值中的属性可能的复制已除去。使用v-bind或冒号简写? Vue.JS 2](https://stackoverflow.com/questions/43211760/how-to-solve-interpolation-inside-attributes-has-been-removed-use-v-bind-or-the) – Bert

+0

看起来像它。将尽快测试。谢谢! –

回答