element
element copied to clipboard
[Feature Request] how to add id to every DOM
Existing Component
是
Component Name
All components
Description
My project is using element ui, now I want to do automated testing, so I need get the only dom, but element ui is not allow to add id prop to every dom
可以写webpack插件实现,不过如果对于自动化测试,每次打包得保证dom上面id不能变……