在子控件中执行以下语句:
var event = window.event || arguments[0] event = window.event || event if (event.stopPropagation) { event.stopPropagation() // 阻止事件 冒泡传播 } else { event.cancelBubble = true // ie兼容 }
上善若水 |
|
||
Copyright © 2024 sherryChang
Powered by .NET 9.0 on Kubernetes |