fix:添加row-key
This commit is contained in:
parent
3ea9da8a7a
commit
92e7084a5a
|
|
@ -96,6 +96,7 @@
|
||||||
id="exportDiv1"
|
id="exportDiv1"
|
||||||
:height="tableHeight"
|
:height="tableHeight"
|
||||||
:summary-method="getSummaries" show-summary
|
:summary-method="getSummaries" show-summary
|
||||||
|
row-key="id"
|
||||||
>
|
>
|
||||||
<el-table-column type="index" width="50" />
|
<el-table-column type="index" width="50" />
|
||||||
<el-table-column label="年份" prop="年" width="70"/>
|
<el-table-column label="年份" prop="年" width="70"/>
|
||||||
|
|
@ -152,6 +153,7 @@
|
||||||
hideDo
|
hideDo
|
||||||
hidePagination
|
hidePagination
|
||||||
:summary-method="getSummaries" show-summary
|
:summary-method="getSummaries" show-summary
|
||||||
|
row-key="id"
|
||||||
>
|
>
|
||||||
<el-table-column type="index" width="50" />
|
<el-table-column type="index" width="50" />
|
||||||
<el-table-column label="年份" prop="年" width="70"/>
|
<el-table-column label="年份" prop="年" width="70"/>
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@
|
||||||
:height="tableHeight"
|
:height="tableHeight"
|
||||||
:summary-method="getSummaries"
|
:summary-method="getSummaries"
|
||||||
show-summary
|
show-summary
|
||||||
|
row-key="id"
|
||||||
>
|
>
|
||||||
<el-table-column type="index" width="50" />
|
<el-table-column type="index" width="50" />
|
||||||
<el-table-column label="年份" prop="年" width="80"/>
|
<el-table-column label="年份" prop="年" width="80"/>
|
||||||
|
|
@ -130,6 +131,7 @@
|
||||||
hidePagination
|
hidePagination
|
||||||
:summary-method="getSummaries"
|
:summary-method="getSummaries"
|
||||||
show-summary
|
show-summary
|
||||||
|
row-key="id"
|
||||||
>
|
>
|
||||||
<el-table-column type="index" width="50" />
|
<el-table-column type="index" width="50" />
|
||||||
<el-table-column label="年份" prop="年" width="80"/>
|
<el-table-column label="年份" prop="年" width="80"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue