-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Marquee组件开发模式下有warning: Non-function value encountered for default slot. Prefer function slots for better performance. #6600
Labels
Comments
同样的问题... |
同样问题。。。 |
原来是这个组件报的警告.... |
啊,是的,我升级到最新的版本,也还是有这个报错。但,好像功能没啥影响? |
+1 |
993576769
pushed a commit
to 993576769/naive-ui
that referenced
this issue
Jan 15, 2025
993576769
pushed a commit
to 993576769/naive-ui
that referenced
this issue
Jan 15, 2025
993576769
pushed a commit
to 993576769/naive-ui
that referenced
this issue
Jan 15, 2025
993576769
pushed a commit
to 993576769/naive-ui
that referenced
this issue
Jan 15, 2025
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
描述错误
在开发模式下,使用Marquee组件dev tool有warning
复现步骤
直接去看官网例子最基础的应用,点击在CodeSandbox中打开。然后在devtool里就能看到这样的报错:
[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance.
或者在自己项目里随便哪个地方写一个最基础用法
Vue SFC
TSX
最小复现链接
https://codesandbox.io/s/lw4dtr
系统信息
使用的包管理器
yarn
验证
The text was updated successfully, but these errors were encountered: