![](https://img-blog.csdnimg.cn/20200601124703643.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Vue
vue学习
cocosum
谨独
展开
-
Vue+Element-UI Table表头排序
Vue+Element-UI Table表头排序Vue代码定义后台需要接受的排序属性排序sortChangeVue代码<el-table v-loading="loading" :data="standardList" @sort-change='sortChange'> <el-table-column label="序号" prop="id" width="80" sortable='custom'/></el-table>在<el-tab原创 2020-06-01 13:29:40 · 4365 阅读 · 2 评论 -
Vue+Element-ui Table 列求和
Vue+Element-ui Table 列求和Vue代码求和getSummaries效果图Vue代码<el-table v-loading="loading" :data="standardList" @sort-change='sortChange' :summary-method="getSummaries" show-summary @selectionchange="handleSelectionChange">这两个一定要加上 :summary-method=“getSu原创 2020-06-01 13:12:28 · 5803 阅读 · 2 评论