fix: 修复table组件id、ref命名未声明index导致的报警问题

This commit is contained in:
刘洪洪
2022-12-14 18:07:48 +08:00
parent fce1c27cf8
commit 195404cd50
6 changed files with 11 additions and 10 deletions

View File

@@ -5,8 +5,8 @@
<chart-error v-if="showError" tooltip :content="errorMsg" />
</div>
<el-table
:id="`tabTable_${index}`"
:ref="`dataTable_${index}`"
id="tabTable"
ref="dataTable"
:data="tableData"
class="npm-recent-table"
:class="{'npm-recent-table-ten': tableData.length === 10}"