From 812e2b55e471391982026a3cafe4390d294aad16 Mon Sep 17 00:00:00 2001 From: "yingfeng.ai" Date: Wed, 30 Oct 2024 17:55:48 +0800 Subject: [PATCH] =?UTF-8?q?vue=E5=AD=A6=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 学习VUE/hello_vue3/src/components/Person.vue | 75 +++++++++---------- 学习VUE/hello_vue3/笔记/computed计算属性.vue | 46 ++++++++++++ .../笔记/reactive监视某一个属性某个对象.vue | 67 +++++++++++++++++ 学习VUE/hello_vue3/笔记/ref对比reactive.vue | 48 ++++-------- .../笔记/监视reactive定义的对象数据.vue | 47 ++++++++++++ .../hello_vue3/笔记/监视ref定义的对象数据.vue | 47 ++++++++++++ 学习VUE/hello_vue3/笔记/监视ref定义的数据.vue | 36 +++++++++ 7 files changed, 295 insertions(+), 71 deletions(-) create mode 100644 学习VUE/hello_vue3/笔记/computed计算属性.vue create mode 100644 学习VUE/hello_vue3/笔记/reactive监视某一个属性某个对象.vue create mode 100644 学习VUE/hello_vue3/笔记/监视reactive定义的对象数据.vue create mode 100644 学习VUE/hello_vue3/笔记/监视ref定义的对象数据.vue create mode 100644 学习VUE/hello_vue3/笔记/监视ref定义的数据.vue diff --git a/学习VUE/hello_vue3/src/components/Person.vue b/学习VUE/hello_vue3/src/components/Person.vue index d48a373..df38bf0 100644 --- a/学习VUE/hello_vue3/src/components/Person.vue +++ b/学习VUE/hello_vue3/src/components/Person.vue @@ -1,63 +1,60 @@ - + \ No newline at end of file diff --git a/学习VUE/hello_vue3/笔记/reactive监视某一个属性某个对象.vue b/学习VUE/hello_vue3/笔记/reactive监视某一个属性某个对象.vue new file mode 100644 index 0000000..df38bf0 --- /dev/null +++ b/学习VUE/hello_vue3/笔记/reactive监视某一个属性某个对象.vue @@ -0,0 +1,67 @@ + + + + + + \ No newline at end of file diff --git a/学习VUE/hello_vue3/笔记/ref对比reactive.vue b/学习VUE/hello_vue3/笔记/ref对比reactive.vue index 3bdcbc8..22f877b 100644 --- a/学习VUE/hello_vue3/笔记/ref对比reactive.vue +++ b/学习VUE/hello_vue3/笔记/ref对比reactive.vue @@ -3,12 +3,11 @@

{{ name }}

{{ age }}

{{ address }}

-

{{ car.price }}

-

{{ car.brand }}

+

{{ car.price }}-----{{ car.brand }}

- + @@ -17,34 +16,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/学习VUE/hello_vue3/笔记/监视ref定义的对象数据.vue b/学习VUE/hello_vue3/笔记/监视ref定义的对象数据.vue new file mode 100644 index 0000000..f731f0f --- /dev/null +++ b/学习VUE/hello_vue3/笔记/监视ref定义的对象数据.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file diff --git a/学习VUE/hello_vue3/笔记/监视ref定义的数据.vue b/学习VUE/hello_vue3/笔记/监视ref定义的数据.vue new file mode 100644 index 0000000..ff915fd --- /dev/null +++ b/学习VUE/hello_vue3/笔记/监视ref定义的数据.vue @@ -0,0 +1,36 @@ + + + + + \ No newline at end of file