<button onclick="func()">按钮</button>
btn.onclick = function() {};
btn.addEventListener("click", function() {});
0