Skip to content

🐛 [Bug]: [d-panel]API和参数问题 #219

@xingyan95

Description

@xingyan95

Version

latest

Vue Version

latest

Link to minimal reproduction

https://vue-devui.github.io/components/panel/

Step to reproduce

  1. 【基本用法】的第二个demo和第三个展开收起状态相关联。
  2. 【多种类型】的infoprimary类型的 demo 相关联,successwarning类型的 demo 相关联。
  3. beforeToggle 参数类型建议改成(done: () => void) => void,业务在执行完同步或者异步操作之后,根据执行结果选择是否调用done函数,调用done则表示改变折叠状态,不调用则不改变。
  4. toggle 事件应该通过 Emit 触发,不应该通过 props 传入。

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions