You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
直接去看官网例子最基础的应用,点击在CodeSandbox中打开。然后在devtool里就能看到这样的报错:
[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance.
或者在自己项目里随便哪个地方写一个最基础用法
Vue SFC
<template>
<n-marquee>
test
</n-marquee>
</template>
morrow-lw-dog
changed the title
Marquee组件有warning: Non-function value encountered for default slot. Prefer function slots for better performance.
Marquee组件开发模式下有warning: Non-function value encountered for default slot. Prefer function slots for better performance.
Dec 6, 2024
描述错误
在开发模式下,使用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: