From e5c80121d89d0511413b0ea493fae2a4e5eba4bb Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 19 Dec 2025 15:25:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20xtSelect=20change=E6=97=B6?= =?UTF-8?q?=E6=8A=9B=E5=87=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/xtSelect/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/xtSelect/index.vue b/src/components/xtSelect/index.vue index a6924eb9..902d2a23 100644 --- a/src/components/xtSelect/index.vue +++ b/src/components/xtSelect/index.vue @@ -190,7 +190,7 @@ const rowClick = (row) => { selectValue.value = row[props.valueField]; showPopover.value = false; } - emit("change"); + emit("change", selectObj.value); }; const handleClear = () => { @@ -203,7 +203,7 @@ const handleClear = () => { selectValue.value = null; } emit("update:label", ""); - emit("change"); + emit("change", selectObj.value); }; const tdChange = (res, tableData) => { @@ -221,6 +221,6 @@ const selectionChange = (val) => { .join(props.splitField); } emit("update:label", val); - emit("change"); + emit("change", selectObj.value); };