From 9f3180cfe792b046b4003c52dae33e19da8ae2a2 Mon Sep 17 00:00:00 2001 From: roger_home_pc Date: Sun, 17 Sep 2023 21:06:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=B6=E5=AD=90=E7=BB=84=E4=BB=B6=E4=BA=92?= =?UTF-8?q?=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/component-v-model/App.vue | 27 +++++++ .../components/ChildComponentA.vue | 24 +++++++ src/App.vue | 59 +++++++++------- src/components/ChildComponentA.vue | 70 ++++++++++++------- 4 files changed, 132 insertions(+), 48 deletions(-) create mode 100644 demo/component-v-model/App.vue create mode 100644 demo/component-v-model/components/ChildComponentA.vue diff --git a/demo/component-v-model/App.vue b/demo/component-v-model/App.vue new file mode 100644 index 0000000..654ac8c --- /dev/null +++ b/demo/component-v-model/App.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/demo/component-v-model/components/ChildComponentA.vue b/demo/component-v-model/components/ChildComponentA.vue new file mode 100644 index 0000000..3b1aff3 --- /dev/null +++ b/demo/component-v-model/components/ChildComponentA.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/App.vue b/src/App.vue index a167f21..ce2d602 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,15 @@ diff --git a/src/components/ChildComponentA.vue b/src/components/ChildComponentA.vue index 2da5514..a409c2d 100644 --- a/src/components/ChildComponentA.vue +++ b/src/components/ChildComponentA.vue @@ -1,38 +1,60 @@