0
經過不斷拋出的錯誤:Vue的設置合併單元格
<th style="padding-right: 0px;" v-for="n in modelClustersList" colspan="{{modelClustersList.length}}">
同類奇怪的,我可以用{{modelClustersList.length}}等地。 Vue中的colspan有點特別嗎?
經過不斷拋出的錯誤:Vue的設置合併單元格
<th style="padding-right: 0px;" v-for="n in modelClustersList" colspan="{{modelClustersList.length}}">
同類奇怪的,我可以用{{modelClustersList.length}}等地。 Vue中的colspan有點特別嗎?
使用v-bind
指令manuplate HTML屬性,
v-bind:colspan="modelClustersList.length"
速記:
:colspan="modelClustersList.length"
工作過,謝謝! –
的【如何解決插值中的屬性可能的複製已除去。使用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
看起來像它。將盡快測試。謝謝! –