event.stopPropagation();//阻止事件冒泡 event.preventDefault();//可以阻止表单按回车默认提交事件
Powered by: 博客园 Copyright © 2024 周末 Powered by .NET 8.0 on Kubernetes