Skip to content

Commit 5acabcf

Browse files
committed
update
1 parent 5cdb57b commit 5acabcf

25 files changed

Lines changed: 2319 additions & 0 deletions

javase/note/IO流分类.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/jdk7 concurrenthashmap put流程.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/jdk7 hashmap的put流程图.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/jdk7 hashmap的死循环问题.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/jdk8 hashmap的put操作.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/死循环问题.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/线程池executor方法的执行过程.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/线程池的分类.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

javase/note/阻塞队列的分类.pos

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Document</title>
9+
<!-- 引包 -->
10+
<script src="./js/axios.js"></script>
11+
<script src="./js/vue.min.js"></script>
12+
</head>
13+
14+
<body>
15+
<div id="app">
16+
<ul>
17+
<li v-for="item in postList">{{item.name}}</li>
18+
</ul>
19+
</div>
20+
</body>
21+
22+
</html>
23+
<script>
24+
//创建Vue实例
25+
var vm = new Vue({
26+
//挂载点
27+
el: "#app",
28+
data: {
29+
postList: []
30+
},
31+
//生命周期函数:实例已经和模板挂在完毕
32+
mounted() {
33+
//向服务器拉去数据
34+
axios.get("./jieyong.txt").then(obj => {
35+
//修改实例postList属性值
36+
this.postList = obj.data.postList;
37+
})
38+
},
39+
})
40+
</script>

0 commit comments

Comments
 (0)