Browse Source

1、登录的用户协议跳转实现

tags/0.0.2+7^2
PH2 4 years ago
parent
commit
41d71767ca
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      lib/pages/login_page/account/login_account_page.dart
  2. +1
    -0
      lib/pages/login_page/login_page.dart

+ 1
- 0
lib/pages/login_page/account/login_account_page.dart View File

@@ -129,6 +129,7 @@ class _LoginAccountPageContianerState extends State<LoginAccountPageContianer> i
void _openAgreement(String url) {
if (!EmptyUtil.isEmpty(url)) {
print('打开协议$url');
RouterUtil.openWebview(url, context);
}
}



+ 1
- 0
lib/pages/login_page/login_page.dart View File

@@ -65,6 +65,7 @@ class _LoginPageContainerState extends State<LoginPageContainer> {
void _jumpUserAgreement(String url) {
if(!EmptyUtil.isEmpty(url)) {
print('协议');
RouterUtil.openWebview(url, context);
}
}



Loading…
Cancel
Save