【ProTable】ProTable通过配置valueType=dateRange、picker=month、format=“YYYY-MM”实现月区间filter,但是反显数据变为YYYY-MM-DD #7682
Unanswered
18319700115
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
{
title: '下单日期',
key: 'orderDate',
dataIndex: 'orderDate',
valueType: 'dateRange',
fieldProps: {
"picker": "month",
"format": "YYYY-MM",
// "onChange": (value) => {
// console.log("----->", value)
// return ["2022-12", "2023-12"]
// }
},
},
Beta Was this translation helpful? Give feedback.
All reactions