更改“<div data-node-key". No way to get it working

问题描述 投票:0回答:1
javascript html jquery-selectors
1个回答
0
投票
这可能有帮助;

const myElement = document.querySelector('[data-node-key="holders"]') myElement.className = 'ant-tabs-tab ant-tabs-tab-active';
    
© www.soinside.com 2019 - 2024. All rights reserved.