From bb80bb875fb93cc84415d7536849fe4536af5c20 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 13 十二月 2022 11:03:22 +0800
Subject: [PATCH] #

---
 components/y-input/y-input.vue |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/components/y-input/y-input.vue b/components/y-input/y-input.vue
index 1823a00..ccfe5c5 100644
--- a/components/y-input/y-input.vue
+++ b/components/y-input/y-input.vue
@@ -1,9 +1,7 @@
 <template>
 	<view>
 		<view class="main">
-			<view style="display: flex;align-items: center;">
-				<y-title :title="titleText"/>
-			</view>
+			<y-title :title="titleText"/>
 			<view :class="zBig">
 				<view style="display: flex;" class="input">
 					<input type="text" :placeholder="placeholderText" @input="input"
@@ -49,9 +47,6 @@
 			placeholderText() {
 				return this.placeholder 
 			},
-			// val() {
-			// 	return this.inputVal || t("uni-popup.inputVal")
-			// }
 		},
 		data() {
 			return {
@@ -75,6 +70,7 @@
 			},
 			clear() {
 				this.val = ''
+				this.input()
 			}
 			
 		}

--
Gitblit v1.9.1