当前位置: 首页> 文旅> 艺术 > 想学广告设计怎么入门_国家企业信用信息公示系统河北_免费建立个人网站_网站友情链接查询

想学广告设计怎么入门_国家企业信用信息公示系统河北_免费建立个人网站_网站友情链接查询

时间:2025/7/12 14:06:55来源:https://blog.csdn.net/qq_44161722/article/details/144208822 浏览次数:0次
想学广告设计怎么入门_国家企业信用信息公示系统河北_免费建立个人网站_网站友情链接查询

在需要排序的列添加属性 sortable,后端排序,需将sortable设置为custom
如果需要自定义轮转添加 sort-orders 属性,数组中的元素需为以下三者之一:ascending 表示升序,descending 表示降序,null 表示还原为原始顺序

 <el-table v-loading="loading" :data="form.itemList" @selection-change="handleSelectionChange" @sort-change="handleSortChange" max-height="550"><el-table-column type="selection" width="50" align="center"/><el-table-column label="行号" align="center" key="vrowNo" prop="vrowNo"/><el-table-column label="产品编码" width="150" align="center" key="materialId" prop="materialId" sortable="custom" :sort-orders="['descending', 'ascending',null]"/><el-table-column label="产品名称" width="200" align="center" key="materialName" prop="materialName" :show-overflow-tooltip="true" sortable="custom" :sort-orders="['descending', 'ascending',null]"/>
</el-table>
/** 排序触发事件 */
handleSortChange(column, prop, order) {this.queryParams.orderByColumn = column.prop;this.queryParams.isAsc = column.orderthis.getList();
},
关键字:想学广告设计怎么入门_国家企业信用信息公示系统河北_免费建立个人网站_网站友情链接查询

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: