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); };