We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(必填)请填写问题描述或截图: 按 文档 配置如下:
vxe-cloumn 属性配置 editRender: { name: 'ADatePicker', props: { type: 'date', format: 'YYYY/MM/DD' } }
vxe-cloumn
editRender: { name: 'ADatePicker', props: { type: 'date', format: 'YYYY/MM/DD' } }
vxe-table-plugin-antd/index.ts
Lines 203 to 211 in a5bd07d
传入值为 string 时,getDatePickerCellValue 中 cellValue.format 报错
string
getDatePickerCellValue
cellValue.format
(必填)请填在线链接: https://jsrun.net/dr8Kp/edit 在 控制台可 查看报错信息
(必填)请填写期望的结果: 正常使用 ADatePicker
(必填)请填写以下信息:
The text was updated successfully, but these errors were encountered:
@kt3721 你解决没
Sorry, something went wrong.
设置默认属性valueFormat可以解决:
valueFormat
ADatePicker: { renderEdit: createEditRender(), renderCell: formatDatePicker('YYYY-MM-DD'), renderItemContent: createFormItemRender({ valueFormat: 'YYYY-MM-DD' }), // 添加valueFormat,否则会自动绑定dayjs对象 exportMethod: createDatePickerExportMethod('YYYY-MM-DD'), },
No branches or pull requests
(必填)请填写问题描述或截图:
按 文档 配置如下:
vxe-cloumn
属性配置editRender: { name: 'ADatePicker', props: { type: 'date', format: 'YYYY/MM/DD' } }
vxe-table-plugin-antd/index.ts
Lines 203 to 211 in a5bd07d
传入值为
string
时,getDatePickerCellValue
中cellValue.format
报错(必填)请填在线链接:
https://jsrun.net/dr8Kp/edit
在 控制台可 查看报错信息
(必填)请填写期望的结果:
正常使用 ADatePicker
(必填)请填写以下信息:
The text was updated successfully, but these errors were encountered: