-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
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
TableAction onClick事件record传值未更新 #313
Comments
有可能你拿到的数据是 deepClone 之后的数据。 |
@kenshinguan 能给下你的使用方式吗,这个我没有还原出来。可以正常使用 |
附件 - 代码文件
…------------------ 原始邮件 ------------------
发件人: "anncwb/vue-vben-admin" <notifications@github.com>;
发送时间: 2021年3月5日(星期五) 凌晨0:32
收件人: "anncwb/vue-vben-admin"<vue-vben-admin@noreply.github.com>;
抄送: "管涧萧萧"<582936996@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [anncwb/vue-vben-admin] TableAction onClick事件record传值未更新 (#313)
@kenshinguan 能给下你的使用方式吗,这个我没有还原出来。可以正常使用
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@anncwb 代码文件已发送至您邮箱,谢谢! |
@kenshinguan 没收到。你贴下主要代码就可以了 |
或者尝试下系统管理模块,看看可不可以,我测试是可以的 |
@anncwb 原因找到了,需要设置ignoreKeepAlive为true,TableAction才能获取更新数据,考虑到性能,可否优化TableAction,使得ignoreKeepAlive为false也能获取更新数据 |
anncwb
added a commit
that referenced
this issue
Mar 8, 2021
closed 7156e47 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
使用TableAction组件,onClick: 事件名.bind(null, record), 其中record的值始终是初始表格数据,不是更改后表格的数据
The text was updated successfully, but these errors were encountered: