随笔分类 - 前端组件库
摘要:
问题描述: 使用antd表格a-table组件时,有时需要展示每条数据的序号。 通常在columns定义时写为如下形式: const columns = [ { title: '序号', align: 'center', width: 100, customRender: (text, record
阅读全文

摘要:
1、vue 页面代码 <a-spin :spinning="confirmLoading"> <a-form :form="form"> <a-form-item label="bizCode" :labelCol="labelCol" :wrapperCol="wrapperCol" has-fe
阅读全文

摘要:
用最笨且最直截了当的方法 ,对ant design的table中自带的rowSelection中selectedRowKeys直接进行绑定。 <div class="content_Table"> <!-- onSelectInvert: onSelectInvert, --> <a-table b
阅读全文

摘要:
使用 antd 提供的 field-names 字段,用于自定义 options 中的 label、name、children 的字段。 <a-cascader v-model="form.delivery" :options="options" :load-data="loadData" :fie
阅读全文
