<th v-for="value in tableColumn" :key="value"></th>
<tr style="border: 1px solid red;" v-for="(value, key3) in tableRows" :key="value">
<td class="td-center">{{rowsName[key3]}}</td>
<td v-for="value in tableColumn" :key="value" class="table-td cursor-pointer" @click="imgClick()">
<img class="img-radius-50" src="../../static/test.png">
</td>
</tr>
上面代碼會出現(xiàn) [Vue warn]: Duplicate keys detected: '1'. This may cause an update error. 錯誤,key 屬性沖突導致

解決方案
1.刪除整行代碼 <th v-for="value in tableColumn" :key="value"></th>
2.將 <th v-for="value in tableColumn" :key="value"></th> 修改為 <th v-for="value in tableColumn" :key="value + '-label'"></th>