2017-01-15 1 views
0

이 부품을 bootstrap table example에 통합하고 싶습니다. index.html에 소스 파일을 첨부했지만 작동하지 않습니다. 인덱스의 루트 구성 요소 아래에 테이블이 삽입되면 작동합니다. 비슷한 question을 찾았지만 해결되지 않았습니다. 대화가 어떻게 든이 질문에서 끝나나요? 나를 도울 수 내 통합이 테이블 코드를 사용하는 답변에 대한 많은 감사합니다, mytable부트 스트랩 테이블을 각도 2에 통합하는 방법은 무엇입니까?

<table data-toggle="table" 
 
     data-url="/gh/get/response.json/wenzhixin/bootstrap-table/tree/master/docs/data/data1/" 
 
     data-click-to-select="true"> 
 
    <thead> 
 
    <tr> 
 
     <th data-field="state" data-checkbox="true"></th> 
 
     <th data-field="name">Name</th> 
 
     <th data-field="stargazers_count">Stars</th> 
 
     <th data-field="forks_count">Forks</th> 
 
     <th data-field="description">Description</th> 
 
    </tr> 
 
    </thead> 
 
</table>

+0

cmon? –

답변

0

<table data-toggle="table" 
 
     data-url="/gh/get/response.json/wenzhixin/bootstrap-table/tree/master/docs/data/data1/" 
 
     data-click-to-select="true"> 
 
    <thead> 
 
    <tr> 
 
     <th data-field="state" data-checkbox="true"></th> 
 
     <th data-field="name">Name</th> 
 
     <th data-field="stargazers_count">Stars</th> 
 
     <th data-field="forks_count">Forks</th> 
 
     <th data-field="description">Description</th> 
 
    </tr> 
 
    </thead> 
 
</table>

관련 문제