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

批量删除用不了,这个该如何实现 #2

Open
ne1000 opened this issue Jul 7, 2017 · 4 comments
Open

批量删除用不了,这个该如何实现 #2

ne1000 opened this issue Jul 7, 2017 · 4 comments

Comments

@ne1000
Copy link

ne1000 commented Jul 7, 2017

No description provided.

@lss5270
Copy link
Owner

lss5270 commented Jul 7, 2017

您好,勾选表格行后,点击批量删除按钮,然后看控制台打印的信息,实际开发 只要把这些id传给后端接口就行了

@ne1000
Copy link
Author

ne1000 commented Jul 7, 2017

image

  1. 这是一个数组,具体是怎么传过去的?
  2. 删除后前端页面如何刷新呢?

@lss5270
Copy link
Owner

lss5270 commented Jul 7, 2017

这串删除的入参 ,你已经拿到了。剩下的就需要把入参从ajax传回去后台接口即可。我建议你先去看下ajax如何传参。删除接口回调中,重新执行一边getList()方法即可

@ne1000
Copy link
Author

ne1000 commented Jul 7, 2017

好的,谢谢

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