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

增删改插示例, [保存并下一个], 关闭对话框后, 页面如何自动刷新? #41

Closed
g770728y opened this issue May 16, 2019 · 1 comment

Comments

@g770728y
Copy link

对应本地访问地址: http://127.0.0.1:8888/examples/crud/jump-next

( [ 表格模式 ] 可以自动刷新, [ 保存并下一个 ] 无法自动刷新 )

请问应该如何设置呢?

@g770728y
Copy link
Author

已解决:

  1. 为 crud 起个名:
{ name: 'myCrud' }
  1. 在弹框的 保存按钮上, 添加一个 reload属性, 指向 myCrud:
                                {
                                    "type": "submit",
                                    "actionType": "next",
                                    "visibleOn": "data.hasNext",
                                    "reload": "myCrud",                           <======  这里
                                    "label": "保存并下一个",
                                    "level": "primary"
                                },

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

1 participant