组件自己封装的an-table
<an-table :loading="context.loading" :table-columns="pipeColumn" :table-data="context.dataSource" :scroll="{ y: 550 }" :rowClassName=" (record, index) => (index % 2 === 0 ? 'table-striped' : null) " > <template #reuse="{ text }"> <div class="align-right"> <span class="text">{ { text }}</span> <span class="unit">m³</span> </div> </template> <template #use="{ text }"> <span class="text">{ { text }}</span> <span class="unit">m³</span> </template> </an-table>
封装调用的a-table
<a-table row-key="id" :pagination="false" :lo