mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix #855
This commit is contained in:
@@ -61,7 +61,10 @@ internal sealed partial class LoginHoyoverseUserPage : Microsoft.UI.Xaml.Control
|
||||
manager.DeleteCookie(item);
|
||||
}
|
||||
|
||||
WebView.CoreWebView2.Navigate("https://account.hoyoverse.com/#/login");
|
||||
CoreWebView2 coreWebView2 = WebView.CoreWebView2;
|
||||
coreWebView2.Settings.IsGeneralAutofillEnabled = false;
|
||||
coreWebView2.Settings.IsPasswordAutosaveEnabled = false;
|
||||
coreWebView2.Navigate("https://account.hoyoverse.com/#/login");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,10 @@ internal sealed partial class LoginMihoyoUserPage : Microsoft.UI.Xaml.Controls.P
|
||||
manager.DeleteCookie(item);
|
||||
}
|
||||
|
||||
WebView.CoreWebView2.Navigate("https://user.mihoyo.com/#/login/password");
|
||||
CoreWebView2 coreWebView2 = WebView.CoreWebView2;
|
||||
coreWebView2.Settings.IsGeneralAutofillEnabled = false;
|
||||
coreWebView2.Settings.IsPasswordAutosaveEnabled = false;
|
||||
coreWebView2.Navigate("https://user.mihoyo.com/#/login/password");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user