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
如题
https://vvbin.cn/next/#/comp/table/editRowTable
点回车要么没反应,要么和tab一样跳到下一个编辑框
当前单元格退出可编辑状态
The text was updated successfully, but these errors were encountered:
fix(table): fix the table in the editable row status and press Enter …
64533f6
…to confirm #258
@anncwb 看了你的这个修改,发现会导致另一个问题,如果没有触发 handleSubmit,那么这个录入控件的值就不会赋值给record, 导致点保存的时候,传入的record是空的,你可以在 https://vvbin.cn/next/#/page-demo/form/high 这个页面的最后试试: 在 PersonTable.vue 加上这句
Sorry, something went wrong.
我知道了,必须要先执行 await record.onEdit?.(false, true); 才会把数据写入record,之后再发送保存请求,然后还要记得try catch,保存出错的话删除记录或者在finally里reload
await record.onEdit?.(false, true);
No branches or pull requests
Subject of the issue
如题
Your environment
Steps to reproduce
https://vvbin.cn/next/#/comp/table/editRowTable
![image](https://user-images.githubusercontent.com/18205977/107199284-303a4900-6a31-11eb-83c0-e4866858e1b0.png)
![image](https://user-images.githubusercontent.com/18205977/107199331-3f20fb80-6a31-11eb-8a46-52a55dbc0c62.png)
Expected behaviour
点回车要么没反应,要么和tab一样跳到下一个编辑框
Actual behaviour
当前单元格退出可编辑状态
The text was updated successfully, but these errors were encountered: