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

为 LoadEnd 事件添加了两个参数 SkipErrorHandler 和 ErrorPageUrl #314

Merged
merged 2 commits into from
Dec 29, 2022
Merged

Conversation

XuanchenLin
Copy link
Owner

为 LoadEnd 事件添加了两个参数 SkipErrorHandler 和 ErrorPageUrl。

  • SkipErrorHandler : boolean -- 设置为 true 时如果遇到当前页面不能访问的情况那么不调用 NanUI 内置的错误页面
  • ErrorPageUrl : string -- 设置一个 url,当页面不能访问时跳转到指定的 url。注意,使用 ErrorPageUrl 需要 SkipErrorHandler 设置为 false,否则本属性不生效。

@XuanchenLin XuanchenLin merged commit c60cf96 into XuanchenLin:master Dec 29, 2022
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.

1 participant