element-plus icon indicating copy to clipboard operation
element-plus copied to clipboard

[Bug Report] The "sub-title" attribute of the custom slot in the "Result" component in the document cannot be used. After verification, it needs to use camel case naming: "subTitle" to take effect

Open lns567 opened this issue 5 years ago • 0 comments

Element Plus version

1.0.2-beta.65

OS/Browsers version

windows10

Vue version

3.2.0-beta.7

Reproduction Link

https://github.com/lns567/element-plus-result.git

Steps to reproduce

  1. Create a vue3 project
  2. Introduce the element-plus library
  3. Use the custom slot attribute'sub-title' of the "Result" component

What is Expected?

The document can be revised in time to be consistent with the actual code

What is actually happening?

When I use the "result" component in the vue3 project, the custom slot attribute: "sub-title" is invalid

lns567 avatar Aug 02 '21 09:08 lns567