From 13982bb9c69e7faa7dc1b96f3048e76314b7f95c Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期四, 22 九月 2022 23:59:57 +0800
Subject: [PATCH] #

---
 pages/home/home.vue |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index 02409e3..d247db6 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -1,7 +1,37 @@
 <template>
+	<view>
+		<button size="mini" @click="dianji">butt</button>
+		<t-test  @input="show" v-model="matnr"></t-test>
+		
+		<button size="mini" @click="consoleLog">clog</button>
+		<t-test :value="locno"></t-test>
+	</view>
+	
 </template>
 
 <script>
+	export default{
+		data() {
+			return {
+				nihao: 777,
+				locno: 888,
+				matnr: 0,
+			}
+		},
+		methods: {
+			dianji() {
+				this.nihao +=1
+				console.log(this.nihao);
+			},
+			consoleLog() {
+				console.log(this.nihao);
+			},
+			show() {
+				this.nihao = this.matnr
+				console.log(this.matnr,this.locno);
+			}
+		}
+	}
 </script>
 
 <style>

--
Gitblit v1.9.1