From 9191ed8eac8ffb97fb5cc17b5321d17be1d741e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Tue, 9 Jan 2024 10:00:03 +0800 Subject: [PATCH] =?UTF-8?q?tableForm=E7=BB=84=E4=BB=B6=20=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=20=E6=B7=BB=E5=8A=A0=E5=A4=B1=E5=8E=BB?= =?UTF-8?q?=E7=84=A6=E7=82=B9=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 8 +++++++- src/components/TableForm/src/TableForm.vue | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 2bc0c4d8c..7d569b1b4 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -82,6 +82,7 @@ @handleTableSelect="handleTableSelect" @inpuFocus="inpuFocus" @buttonOperationClick="buttonOperationClick" + @inputStringBlur="inputStringBlur" />
@@ -453,7 +454,8 @@ const emit = defineEmits([ 'selectChange', 'selectChangeDetail', 'tableFormChange', - 'buttonOperationClick' + 'buttonOperationClick', + 'inputStringBlur' ]) //普通下拉改变事件 const formSelectChange = (field, val, row) => { @@ -522,6 +524,10 @@ const buttonOperationClick = (row, label, index)=> { emit("buttonOperationClick", row, label, index); } +const inputStringBlur = (headerItem, row, index)=> { + emit("inputStringBlur", headerItem, row, index); +} +