We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.32.0
3.2.33
chrome(103.0.5060.134)
Windows(11)
v16.14.2
https://github.com/
1、勾选穿梭框左侧数据,在回调函数通过 console.log(value) 打印 ['001', '000'] 2、取消勾选左侧数据,回调函数没有打印任何内容。 穿梭框代码: <n-transfer ref="transferRef" v-model:value="transferModel" :options="options" size="medium" source-title="所有" target-title="已选" @update:value="handleUpdateClick" filterable /> 回调函数代码: const handleUpdateClick = (row: Array<string | number>) => { console.log(row) }
取消勾选的时候也能回调。
只有勾选左侧内容才会执行回调函数,取消勾选不执行。
The text was updated successfully, but these errors were encountered:
b62c62d
XieZongChen
No branches or pull requests
TuSimple/naive-ui version (版本)
2.32.0
Vue version (Vue 版本)
3.2.33
Browser and its version (浏览器及其版本)
chrome(103.0.5060.134)
System and its version (系统及其版本)
Windows(11)
Node version (Node 版本)
v16.14.2
Reappearance link (重现链接)
https://github.com/
Reappearance steps (重现步骤)
1、勾选穿梭框左侧数据,在回调函数通过 console.log(value) 打印 ['001', '000']
2、取消勾选左侧数据,回调函数没有打印任何内容。
穿梭框代码:
<n-transfer ref="transferRef" v-model:value="transferModel" :options="options" size="medium" source-title="所有" target-title="已选" @update:value="handleUpdateClick" filterable />
回调函数代码:
const handleUpdateClick = (row: Array<string | number>) => {
console.log(row)
}
Expected results (期望的结果)
取消勾选的时候也能回调。
Actual results (实际的结果)
只有勾选左侧内容才会执行回调函数,取消勾选不执行。
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: