element icon indicating copy to clipboard operation
element copied to clipboard

[Feature Request] how to add id to every DOM

Open cxl971453503 opened this issue 1 year ago • 1 comments

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

cxl971453503 avatar Dec 19 '23 07:12 cxl971453503

可以写webpack插件实现,不过如果对于自动化测试,每次打包得保证dom上面id不能变……

wangdaodao avatar Dec 19 '23 11:12 wangdaodao