Skip to content
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

fix tables-edit bug #1293

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fix tables-edit bug #1293

wants to merge 2 commits into from

Conversation

ZHUIMEN
Copy link

@ZHUIMEN ZHUIMEN commented Jun 12, 2019

问题:1.在表格 editable 状态时,初次点击编辑 ,但是未在input上输入,点击保存 保存为空值。
2. 当编辑一行时 点击编辑其他时,未在input上输入,点击保存 会自动编辑上一个输入的值。
3.当编辑的内容和原来的内容相同时,没有必要触发保存时间,减少事件循环。

解决: 定义 isEdittingTextChange 字段 ,保存输入的状态,如果输入状态 为真 说明用户编辑过,可以进行下一步操作 最后并edittingText 赋值为空 ,如果为假 不作任何操作

@thedb
Copy link

thedb commented Aug 1, 2019

不用那么麻烦,问题在于点编辑的时候没有给初始值,见#1316
希望早点merge。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants