
ant design vue
记录项目中遇到关于antd的坑~
北方爷们儿
我等采石之人,当心怀大教堂之远景
展开
-
ant design vue中的Table组件一列显示多个参数
项目中,有时会遇到表格显示的字段较多,全部显示出来页面过长需要滚动查看, 用户体验不好,就需要将一些字段归类到一个单元格显示, 这时就需要一列显示多个参数了,直接上代码 <a-table ref="table" size="middle" :scroll="{x:true}" bordered rowKey="id" :columns="columns" :dataSource="dataSource" :pagination="fal原创 2022-01-21 16:19:55 · 4690 阅读 · 2 评论 -
ant design vue 中 table 组件 让选中的表格中的某一项高亮显示
table 组件 让选中的一项高亮显示<template> <a-table ref="clientLeve_table" bordered size="middle" rowKey="id" :columns="clientLeve_columns" :dataSource="clientLeve_dataSource" :pagination="false" class=原创 2022-01-13 20:53:05 · 3726 阅读 · 0 评论 -
ant design vue table清空选中
直接上代码,简单粗暴<template> <div> <a-table ref="table" size="middle" :scroll="{x:true}" bordered rowKey="id" :columns="columns" :dataSource="dataSource" :pagination="ipaginatio原创 2021-12-14 16:03:35 · 4050 阅读 · 0 评论