2021年1月22日

Ant Table 复选框禁用 全选时禁用复选框被选中问题

摘要: <template> <a-table :row-selection="{ getCheckboxProps: getCheckboxProps, }" rowKey="id" :columns="columns" :data-source="data" > </a-table> </templat 阅读全文

posted @ 2021-01-22 16:42 ㅤㅤㅤㅤㅤㅤ 阅读(2436) 评论(0) 推荐(0) 编辑

Ant table报错 Warning: [antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.]

摘要: 方法1 <a-table :columns="columns" :data-source="data" size="small" :rowKey="(row) => row.key" > // key为 data 中的一个属性 </a-table> 方法2 <a-table :columns="co 阅读全文

posted @ 2021-01-22 15:30 ㅤㅤㅤㅤㅤㅤ 阅读(1410) 评论(0) 推荐(1) 编辑

导航