From 9a3837ce2d128a9f03264f2ce99b8d3584e5520e Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 24 十一月 2023 09:29:00 +0800 Subject: [PATCH] # --- pages/home/home.vue | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index d247db6..9f64fda 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -4,7 +4,7 @@ <t-test @input="show" v-model="matnr"></t-test> <button size="mini" @click="consoleLog">clog</button> - <t-test :value="locno"></t-test> + <t-test v-model="matnr"></t-test> </view> </template> @@ -20,15 +20,11 @@ }, methods: { dianji() { - this.nihao +=1 - console.log(this.nihao); + this.matnr ='' }, consoleLog() { - console.log(this.nihao); }, show() { - this.nihao = this.matnr - console.log(this.matnr,this.locno); } } } -- Gitblit v1.9.1