element-plus
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
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
- Create a vue3 project
- Introduce the element-plus library
- 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