我已經實現了標籤使用引導,有4個標籤,其中每個標籤都有內容,但是當我執行代碼時,該標籤的所有內容以及所有其他標籤內容都是所述第一接線片和其他選項卡內容下表示被blank.here是到目前爲止的代碼:引導標籤查看內容未顯示
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div>
<ul class="nav nav-tabs nav-justified" role="tablist">
<li role="presentation" class="active settingshead"><a href="#first" aria-controls="first" role="tab"
data-toggle="tab" value="first">
1
</a>
</li>
<li role="presentation"><a href="#second" class="settingshead" aria-controls="second" role="tab"
data-toggle="tab" value="second">
2
</a>
</li>
<li role="presentation"><a href="#third" aria-controls="third" role="tab"
data-toggle="tab" value="third">
3
</a>
</li>
<li role="presentation"><a href="#fourth" aria-controls="fourth" role="tab"
data-toggle="tab" value="fourth">
4
</a>
</li>
</ul>
</div>
<div role="tabpanel" class="tab-pane active" id="first">
<div class="namedesig">
<h4>Dr. Jane Doe</h4>
<p>PhD in Applied Physics</p>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="second">
<div class="namedesig">
<h4>Dr. Martin</h4>
<p>PhD in Applied Chemistry</p>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="third">
<div class="namedesig">
<h4>Dr. John</h4>
<p>PhD in Applied Biology</p>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="fourth">
<div class="namedesig">
<h4>Dr. Watson</h4>
<p>PhD in Applied Math</p>
</div>
</div>
噢,對不起,有一些網絡問題,現在你一個公認的答案 – ashfaqrafi