From 0ecc402885f332b21923bb12183dc072306f2b39 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 21 三月 2025 18:36:15 +0800
Subject: [PATCH] vue3

---
 components/oi-form/list/textarea/index.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/components/oi-form/list/textarea/index.vue b/components/oi-form/list/textarea/index.vue
index 57957fd..79fa22a 100644
--- a/components/oi-form/list/textarea/index.vue
+++ b/components/oi-form/list/textarea/index.vue
@@ -25,15 +25,17 @@
 		},
 		methods: {
 			onChange(e) {
-				this.$emit("change", e)
+				this.$emit("on-change", e)
 			},
 			onConfirm(e) {
 				this.onChange(e)
 			},
 			onClick(e) {
-				this.$emit("click", e)
+				this.$emit("on-click", e)
 			},
-
+			onFocus(e) {
+				this.$emit("on-focus", e)
+			},
 
 		}
 	};
@@ -42,7 +44,7 @@
 <style lang="scss" scoped>
 	.oi-form-textarea {
 		border: 1px solid #d5d5d5;
-		width: calc(100%- 6rpx);
+		width: calc(100% - 6rpx);
 		border-radius: 6px !important;
 		padding: 3rpx;
 

--
Gitblit v1.9.1