Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hukaibaihu committed Sep 25, 2018
1 parent 50a67a7 commit efe197b
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@
<meta charset="utf-8">
<title>vue-org-tree</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://unpkg.com/malihu-custom-scrollbar-plugin@3.1.5/jquery.mCustomScrollbar.css">
<link rel="stylesheet" href="https://unpkg.com/vue2-org-tree@1.1.0/dist/style.css">
<style type="text/css">
.org-tree-node {
display: table-cell;
vertical-align: top;
}
.org-tree-node:not(:only-child) {
float: none;
}
.org-tree-node-children {
display: table;
.org-tree-node-label {
white-space: nowrap;
}
.bg-white {
background-color: white;
Expand Down Expand Up @@ -82,7 +75,7 @@ <h3>基于Vue的组织架构树组件</h3>
</div>
</div>
<p><br></p>
<div class="mCustomScrollbar text-center">
<div class="text-center">
<vue2-org-tree
:data="data"
:horizontal="horizontal"
Expand All @@ -95,19 +88,9 @@ <h3>基于Vue的组织架构树组件</h3>
</div>
</div>
</div>
<script src="https://unpkg.com/[email protected]/dist/jquery.min.js"></script>
<script src="https://unpkg.com/[email protected]/jquery.mCustomScrollbar.js"></script>
<script src="https://unpkg.com/[email protected]/dist/vue.js"></script>
<script src="./dist/index.js"></script>
<script src="https://unpkg.com/[email protected]/dist/index.js"></script>
<script type="text/javascript">
$('.mCustomScrollbar').mCustomScrollbar({
axis: 'x',
// documentTouchScroll: true,
// advanced: {
// updateOnContentResize: true,
// autoExpandHorizontalScroll: true
// }
});
var vm = new Vue({
el: '#app',
data: {
Expand Down

0 comments on commit efe197b

Please sign in to comment.