Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9c2a1f

Browse files
committed
双向绑定
1 parent 7071875 commit e9c2a1f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>vuejs-learn</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
</buildSpec>
9+
<natures>
10+
</natures>
11+
</projectDescription>

qibu-1/demo-1-02.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>双向绑定</title>
6+
<script src="../js/vue.js"></script>
7+
</head>
8+
<body>
9+
<div id="app">
10+
<p>{{message}}</p>
11+
<input v-model="message" />
12+
</div>
13+
</body>
14+
<script>
15+
new Vue({
16+
el:'#app',
17+
data: {
18+
message:'hello vue.js'
19+
}
20+
})
21+
</script>
22+
</html>

0 commit comments

Comments
 (0)