js 事件 JS使用方法 模态窗提供了四个事件: 1.show.bs.modal在显示之前触发 2.shown.bs.modal在显示之后触发 3.hide.bs.modal在隐藏之前触发 4.hidden.bs.modal在隐藏之后触发