From 143cab0bb9b5a74e78c2b7eac690f4a94878f885 Mon Sep 17 00:00:00 2001 From: jixinbao Date: Tue, 21 May 2024 15:17:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95=20l?= =?UTF-8?q?og?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/textarea/textarea.uvue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/component/textarea/textarea.uvue b/pages/component/textarea/textarea.uvue index da1b1ad4..8b4e0862 100644 --- a/pages/component/textarea/textarea.uvue +++ b/pages/component/textarea/textarea.uvue @@ -33,7 +33,7 @@ export default { textarea_longpress() { console.log("如果一个组件被绑定了 longpress 事件,那么当用户长按这个组件时,该事件将会被触发。") }, textarea_confirm() { console.log("点击完成时, 触发 confirm 事件,event.detail = {value: value}") }, textarea_input() { console.log("当键盘输入时,触发 input 事件,event.detail = {value, cursor}, @input 处理函数的返回值并不会反映到 textarea 上") }, - textarea_linechange(e) { console.log(e,"输入框行数变化时调用,event.detail = {height: 0, height: 0, lineCount: 0}") }, + textarea_linechange() { console.log("输入框行数变化时调用,event.detail = {height: 0, height: 0, lineCount: 0}") }, textarea_blur() { console.log("输入框失去焦点时触发,event.detail = {value, cursor}") }, textarea_keyboardheightchange() { console.log("键盘高度发生变化的时候触发此事件,event.detail = {height: height, duration: duration}") }, textarea_focus() { console.log("输入框聚焦时触发,event.detail = { value, height },height 为键盘高度") }, -- GitLab