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

up-datetime-picker 组件报错 #604

Open
736048546 opened this issue Dec 28, 2024 · 4 comments
Open

up-datetime-picker 组件报错 #604

736048546 opened this issue Dec 28, 2024 · 4 comments

Comments

@736048546
Copy link

image

@ijry
Copy link
Owner

ijry commented Dec 30, 2024

请提供复现demo

@JamesY-Jey
Copy link

请提供复现demo

我也是,debug了一下,NaN导致的

image

image

@JamesY-Jey
Copy link

image

@JamesY-Jey
Copy link

貌似因为v-model初始值传了个空字符串的原因,初始值传Number(new Date())就不会报错。不过按说一开始应该可以传空字符串吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants