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

输入250000或者20000会报错tofixed未定义, #48

Open
liuyong-byte opened this issue Dec 9, 2022 · 0 comments
Open

输入250000或者20000会报错tofixed未定义, #48

liuyong-byte opened this issue Dec 9, 2022 · 0 comments

Comments

@liuyong-byte
Copy link

报错位于formatNumber方法,t参数,执行t.toFixed报错,需要区别对待,if判断t是数字类型就执行toFixed,如果不是就写else.
1670577261168
代码如上。

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

1 participant