From 66ec61e66cf31508c08b30a28ee0bb64e45f87bb Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期五, 23 九月 2022 00:16:14 +0800
Subject: [PATCH] #
---
pages/user/user.vue | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/pages/user/user.vue b/pages/user/user.vue
index bc5912f..e3656bc 100644
--- a/pages/user/user.vue
+++ b/pages/user/user.vue
@@ -1,13 +1,9 @@
<template>
<view class="">
<scroll-view class="scroll-Y">
- <!-- <button @click="open">鐐瑰嚮</button> -->
- <!-- <y-popup ref="yPopup" title="杈撳叆鍐呭">
-
- </y-popup> -->
- <button size="mini" @click="up">button</button>
- <y-input title="鍟嗗搧鐮�" :inputVal="matnr" />
- <y-input title="搴撲綅鐮�" />
+ <button size="mini" @click="up">button</button>
+ <y-input title="鍟嗗搧鐮�" @input="show" v-model="matnr"/>
+ <y-input title="搴撲綅鐮�" @input="show" v-model="locno"/>
</scroll-view>
</view>
</template>
@@ -17,7 +13,8 @@
data () {
return {
scrollY:true,
- matnr:'1'
+ matnr:'1',
+ locno: ''
}
},
methods: {
@@ -25,11 +22,11 @@
this.$refs.yPopup.open('center')
},
up() {
- // setTimeout(()=>{
- // this.matnr = '1024'
- // },300)
- this.matnr = '1024'
+ this.matnr = '1024'
console.log(this.matnr);
+ },
+ show() {
+ console.log(this.matnr,this.locno);
}
}
--
Gitblit v1.9.1