-
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
n-tabs、n-tab-pane渲染问题 #6689
Comments
Provide a based on Playground or CodeSandbox or stackblitz [Minimal, Reproducible Example] (https://stackoverflow.com/help/minimal-reproducible-example) |
|
看一下能不能看到,我改了一下权限 |
naive-ui/src/tabs/src/Tabs.tsx Lines 817 to 826 in c96427d
Tabs find TabPane based on a special component option tag, RenderComponent does not have this flag. Don't call components in weird way. |
Some components can't be repackaged. |
描述错误
在vue3中使用
component
的is
方式渲染n-tabs
和n-tab-pane
并不能正确渲染出来。RenderComponent.vue:
index.vue:
但是如果我不用子组件直接这样使用是可以的:
是不是因为attrs没有被正确绑定的原因?
复现步骤
直接运行给的代码就能复现
最小复现链接
https://github.com/ashuicoder/naive-ui-dmeo
系统信息
使用的包管理器
pnpm
验证
The text was updated successfully, but these errors were encountered: