Skip to content
New issue

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

Element:el-date-picker,value值要传字符串 #44

Open
smileyby opened this issue May 25, 2021 · 0 comments
Open

Element:el-date-picker,value值要传字符串 #44

smileyby opened this issue May 25, 2021 · 0 comments
Labels
Element-UI 🍄 饿了么UI组件库

Comments

@smileyby
Copy link
Owner

TypeError: dateStr.match is not a function at Object.push../node_modules/element-ui/lib/utils/date.js.fecha.parse

如果传的是数字,就会报这个错误,应该是它在解析value值得时候,是默认传进来的是字符串,开始处理的

@smileyby smileyby added the Element-UI 🍄 饿了么UI组件库 label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Element-UI 🍄 饿了么UI组件库
Projects
None yet
Development

No branches or pull requests

1 participant