2017-10-07 102 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

看起來像它。將盡快測試。謝謝! –

回答