bootstrap的modal提示框怎么实现自动关闭

2025-04-08 22:16:00
推荐回答(1个)
回答1:

你好
自动关闭的方法为:
setTimeout(function(){$("#modal").modal("hide")},2000);