antd vue transformCellText 使用
ant-design-vue:3.2.15
我的需求是空值默认展示: "-"。
可以配置的地方为table(单个)、ConfigProvider(全部)。
transformCellText:({ text, column, record, index }) => any。
此处text返回的是Array: ['value'],所以验证text的length。
惟精惟一,允执厥中
我的需求是空值默认展示: "-"。
可以配置的地方为table(单个)、ConfigProvider(全部)。
transformCellText:({ text, column, record, index }) => any。
此处text返回的是Array: ['value'],所以验证text的length。