未验证 提交 612995a5 编写于 作者: T TanFei 提交者: GitHub

fix(form): format destructuring assignment error (#238)

fix(form): format 解构赋值错误
上级 826e5f3d
......@@ -57,7 +57,7 @@ export function useFormValues({
return values;
}
for (const [field, [startTimeKey, endTimeKey, format = 'YYYY-MM-DD']] of fieldMapToTime) {
for (const [field, [startTimeKey, endTimeKey], format = 'YYYY-MM-DD'] of fieldMapToTime) {
if (!field || !startTimeKey || !endTimeKey || !values[field]) {
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册