2

我发现这个例子适用于 3.0.0 rc1

http://plnkr.co/edit/HWSgSw?p=preview

但是当我将其更改为指向 3.0.0 final 时,它停止工作。为什么?谢谢

4

1 回答 1

1

代替

<a href="first.html" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch First</a>
<a href="second.html" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch Second</a>

<a href="#myModal" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch First</a>
<a href="#myModal" data-target="#myModal" role="button" class="btn btn-default" data-toggle="modal">Launch Second</a>
于 2013-10-04T20:39:12.160 回答