From 99f62bbe7738224e8858ba06eca1674e5b9dc84e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B6=A6=E5=B1=B1?= <1968965292@qq.com>
Date: Thu, 31 Mar 2022 09:15:30 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A42022-3-29=E5=88=B02022-3-?=
=?UTF-8?q?30=E4=BD=9C=E4=B8=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../2022-3-29vue/index.html" | 56 +++++++++++++++
.../2022-3-30vue/index.html" | 69 +++++++++++++++++++
2 files changed, 125 insertions(+)
create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html"
create mode 100644 "\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html"
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html"
new file mode 100644
index 0000000..aef3409
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html"
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+ vue练习el与data
+
+
+
+
+ {{message}}
+ {{hong}}
+
+
+ {{hong}}
+
+
+
+ {{message}}
+
+
+
+
\ No newline at end of file
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html"
new file mode 100644
index 0000000..fda361b
--- /dev/null
+++ "b/\351\273\204\346\266\246\345\261\261/2022-3-30vue/index.html"
@@ -0,0 +1,69 @@
+
+
+
+
+
+ 模板语法
+
+
+
+
+
+
{{text}}+第一段文字
+
+使用v-text,显示不了
这是li,也显示不了
+
+
{{html}}
+
使用v-html
+
+
+
控制台查看v-bind:id
+
+
+
class
+
+
+
+
{{num+'+num后续的输出'}}
+
{{ok?'输出ok':'输出不ok'}}
+
{{val.trim()}}
+
{{echo(val)}}
+
if显示?????
+
else显示!!!
+
show的显示???
+
点击
+
点击2
+
+
+
+
+
\ No newline at end of file
--
Gitee
From eabd5567796d1f6afaff38633d703c205a2f5600 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B6=A6=E5=B1=B1?= <1968965292@qq.com>
Date: Thu, 31 Mar 2022 09:37:43 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../2022-3-29vue/index.html" | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git "a/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html" "b/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html"
index aef3409..4c65186 100644
--- "a/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html"
+++ "b/\351\273\204\346\266\246\345\261\261/2022-3-29vue/index.html"
@@ -3,7 +3,7 @@
-
+
vue练习el与data
@@ -47,10 +47,9 @@
console.log(vm.hong);
console.log(vc.hong);
console.log(vc.$data.hong);
-
+ // $watch方法,Chorem控制台输入 vm.message = '修改后message的值';
vm.$watch('message',function(newValue,oldValue){
- console.log(newValue,oldValue);
- })
- vm.$watch('message');
+ console.log(newValue,oldValue)
+ });
\ No newline at end of file
--
Gitee