<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="js/vue.js"></script>
<script src="js/axios.min.js"></script>
</head>
<body>
<div class="app">
<ul>
<li v-for="(item,index) in list">{{item.title}}{{item.time}}{{item.price}}</li>
</ul>
</div>
<script>
var vm=new Vue({
el:".app",
data:{
list:[]
},
mounted(){
axios({
method: 'post',
url: 'json/js1.json',
data: {
firstName: 'Fred',
lastName: 'Flintstone'
}
}).then(function(data){
vm.list=data.data.exclude;
console.log(this.list)
});
}
});
</script>
</body>
</html>