Skip to content

Can the notification component display the creation/popup time? #6091

@joey-wang97

Description

@joey-wang97
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

notification组件长期弹出时(duration为null),目前不支持显示创建/弹出时间。

What does the proposed API look like?

在config中添加如下属性:

  • showCreateTime: bool 是否显示创建/弹出时间
  • createTimeFormat: string | Function 自定义时间格式,默认为"yyyy-MM-dd hh:mm:ss"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions