|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="patent-table-list-view height_100" v-DivHeight="getDivHeight">
|
|
|
- <el-table :data="tableData" border style="width: 100%" header-row-class-name="custom-table-header"
|
|
|
+ <el-table :data="tableData" border style="width: 100%" header-row-class-name="custom-table-header" ref="table"
|
|
|
:maxHeight="tableHeight" @sort-change="sortChange" @cell-click="cellClick" :cell-class-name="cellClassName">
|
|
|
<el-table-column label="#" width="100" type="index" align="center" fixed="left">
|
|
|
<template slot-scope="scope">
|
|
@@ -106,6 +106,11 @@ export default {
|
|
|
return {
|
|
|
}
|
|
|
},
|
|
|
+ watch:{
|
|
|
+ tableData(){
|
|
|
+ this.$refs.table.doLayout();
|
|
|
+ }
|
|
|
+ },
|
|
|
activated() {
|
|
|
},
|
|
|
computed: {
|