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

新增数据后,删除该条数据失败 bug!!!!! #1

Open
xingwen93 opened this issue Jan 7, 2017 · 1 comment
Open

新增数据后,删除该条数据失败 bug!!!!! #1

xingwen93 opened this issue Jan 7, 2017 · 1 comment

Comments

@xingwen93
Copy link

新增数据后,删除该条数据失败 bug!!!!!

@ushelp
Copy link
Owner

ushelp commented Jan 8, 2017

@xingwen93 您好。
如果是与服务器端交互,可能是服务器处理的问题。添加数据后,请在 返回的JSON 中设置一个 rowData 属性,返回您的最新数据(必须包含删除的主键属性和值),以自动刷新新添加的前行。

{"msg":"添加成功!","locationUrl":"","callback":"","rowData":{"deptno":10,"dname":"x","loc":"x"},"statusCode":200}

如您还有问题,可以提供代码。

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

No branches or pull requests

2 participants