<el-table :data="bankLists" style="width: 100%" header-row-class-name="center" :default-sort="{prop: "createDate", order: "descending"}">
<el-table-column prop="index" type="index" :index="indexMethod" width="50" label="" fixed>
</el-table-column>
<el-table-column prop="id" label="" width="50" fixed>
</el-table-column>
<el-table-column prop="interfaceNo" label="" width="100" fixed>
</el-table-column>
<el-table-column prop="remarks" label="" width="150" fixed>
</el-table-column>
<el-table-column prop="writer" label="" width="150" fixed>
</el-table-column>
<el-table-column prop="createDate" label="" width="100" >
<template slot-scope="scope">
{{scope.row.createDate|timeForm}}
</template>
</el-table-column>
I want to descend by creation time, but table is still from index
problem description
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)