el-table表格自定義可以使用插槽,但是數(shù)據(jù)不更新
<el-table-column >
? ? <template?slot="header" >
? ? ? ? <div style="float: right" v-if="data.customProps.length === 0">
? ? ? ? ? ? <div class="newColumnTips">
? ? ? ? ? ? ? ? 添加列并維護(hù)字段內(nèi)容后,
? ? ? ? ? ? ? ? <br/>
? ? ? ? ? ? ? ? 在簽署設(shè)置時(shí)可把該字段內(nèi)容顯示在文件上
? ? ? ? ? ? </div>
? ? ? ? ? ? <img class="arrow" src="@/assets/arrow.png" alt="" >
? ? ? ? </div>
? ? </template>
</el-table-column>