vue-devui icon indicating copy to clipboard operation
vue-devui copied to clipboard

🐛 [Bug]: 组件api/demo文档中的属性和事件名称应该统一使用中划线分隔的烤串命名风格

Open kagol opened this issue 3 years ago • 1 comments

Version

latest

Vue Version

latest

Link to minimal reproduction

比如Checkbox组件的api使用的是小驼峰命令风格,应该改成烤串风格: https://vue-devui.github.io/components/checkbox/#api

Step to reproduce

其他组件同理,比如: https://vue-devui.github.io/components/editable-select/#d-editable-select

What is expected

期望组件的api、demo中的属性和事件统一用烤串命名风格

What is actually happening

No response

Any additional comments (optional)

No response

kagol avatar Mar 15 '22 14:03 kagol

目前1.0版本的40个组件还有以下组件需要优化下(小驼峰改成中划线分隔的烤串风格):

  1. Pagination
  2. Loading
  3. ReadTip
  4. AutoComplete
  5. Checkbox
  6. EditableSelect
  7. Input
  8. Radio
  9. Slider
  10. Switch
  11. TagInput
  12. Textarea
  13. Avatar
  14. Countdown
  15. ImagePreview
  16. Progress
  17. Rate
  18. Splitter

kagol avatar Mar 17 '22 09:03 kagol