<p test="1"></p> document.querySelectorAll('[test=1]');
报错: An invalid or illegal string was specified
document.querySelector('[test="1"]');
document.querySelectorAll('[test="1"]');