let dom :any= document.getElementById(`forid_${index}`)
console.log('dom',dom.attributes);
let dataV=dom.attributes[0].name
vue3 获取当前组件data-v NamedNodeMap
最新推荐文章于 2023-07-12 16:21:57 发布
let dom :any= document.getElementById(`forid_${index}`)
console.log('dom',dom.attributes);
let dataV=dom.attributes[0].name