From 9c34e8cc2ff136db5c27a5adc2eb2e140ac0580a Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期日, 01 一月 2023 06:17:15 +0800
Subject: [PATCH] #
---
pages/home/home.vue | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/pages/home/home.vue b/pages/home/home.vue
index d247db6..04693e7 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,14 +20,13 @@
},
methods: {
dianji() {
- this.nihao +=1
+ this.matnr =''
console.log(this.nihao);
},
consoleLog() {
console.log(this.nihao);
},
show() {
- this.nihao = this.matnr
console.log(this.matnr,this.locno);
}
}
--
Gitblit v1.9.1