Skip to content

自定义时间库文档有问题 #7729

@eloves

Description

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

Version

3.2.20

Environment

[email protected]

Steps to reproduce

文档介绍

  • 注意: 如果你需要全局注册 ant-design-vue 组件库,那么 use(DatePicker) use(TimePicker) use(Calendar) 必须在 use(antd) 之前执行,否则无法覆盖默认的 dayjs 版本。
  • app.use(DatePicker).use(TimePicker).use(Calendar).use(antd).mount('#app');

实际使用为app.use(antd).use(DatePicker).use(TimePicker).use(Calendar).mount('#app');才覆盖了我的组件中的时间库

What is expected?

文档介绍的覆盖方式是否有问题

What is actually happening?

无法覆盖时间库

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions