利用事件冒泡,将事件写在外层;以达到简化程序的目的;
阻止事件冒泡:event.stopPropagation
阻止默认事件:event.preventDefault
Copyright © 2024 fvnkrenfkjkd Powered by .NET 9.0 on Kubernetes