js代码
<script type="text/javascript" src="js/html5shiv.min.js"></script> <script type="text/javascript" src="js/vue.js"></script> <script type="text/javascript"> var app = new Vue({ el: "#app", data: { cur:0 //默认选中第一个tab } }); </script>