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

面板分割支持多个 #6518

Open
3 tasks done
quhongli123 opened this issue Nov 5, 2024 · 4 comments · May be fixed by #6566
Open
3 tasks done

面板分割支持多个 #6518

quhongli123 opened this issue Nov 5, 2024 · 4 comments · May be fixed by #6566
Labels
feature request New feature or request pr welcome

Comments

@quhongli123
Copy link

问题的清晰而简明的描述

希望可配置多个面板进行分割

建议的解决方案

增加一个配置项数量

备选方案

No response

附加上下文

No response

验证

  • 阅读 贡献指南
  • 阅读 文档
  • 检查是否已经存在请求相同功能的问题,以避免创建重复的问题。
@quhongli123 quhongli123 added the feature request New feature or request label Nov 5, 2024
@jahnli
Copy link
Collaborator

jahnli commented Nov 5, 2024

@jahnli jahnli added waiting for response and removed feature request New feature or request labels Nov 5, 2024
@quhongli123
Copy link
Author

https://www.naiveui.com/zh-CN/os-theme/components/split#nest.vue

当前只支持两个模板进行分割希望支持多个

@jahnli jahnli added feature request New feature or request pr welcome and removed waiting for response labels Nov 5, 2024
@jahnli
Copy link
Collaborator

jahnli commented Nov 5, 2024

I think I know what that means. You need more than one at the same level.

@quhongli123
Copy link
Author

quhongli123 commented Nov 5, 2024

I think I know what that means. You need more than one at the same level.

Yes, like this.

<template>
  <n-split direction="horizontal" style="height: 200px" :max="0.75" :min="0.25">
     <template #1>
        Pane 1
    </template>
     <template #2>
        Pane 2
    </template>
    <template #3>
        Pane 3
    </template>
    <template #4>
        Pane 4
    </template>
   </n-split>
</template>

@jahnli jahnli linked a pull request Nov 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request pr welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants