Skip to content

自定义组件使用Switch组件时,switch组件的ts声明文件中无onChange和onClick属性 #3439(该修复未正常工作) #3456

@liulei92

Description

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

Version

2.0.0-rc.6

Environment

vue3.0.4

Reproduction link

#3439

Steps to reproduce

#3439
该issue修复未正常工作

switch事件props声明

增加的props应为 onChange 和 onClick

What is expected?

switch onChange和onClick事件正常工作

What is actually happening?

#3439

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