feat(cookie-login): add iFlow Cookie login functionality with UI elements and internationalization support
This commit is contained in:
4
app.js
4
app.js
@@ -480,6 +480,7 @@ class CLIProxyManager {
|
||||
const iflowOauthBtn = document.getElementById('iflow-oauth-btn');
|
||||
const iflowOpenLink = document.getElementById('iflow-open-link');
|
||||
const iflowCopyLink = document.getElementById('iflow-copy-link');
|
||||
const iflowCookieSubmit = document.getElementById('iflow-cookie-submit');
|
||||
|
||||
if (iflowOauthBtn) {
|
||||
iflowOauthBtn.addEventListener('click', () => this.startIflowOAuth());
|
||||
@@ -490,6 +491,9 @@ class CLIProxyManager {
|
||||
if (iflowCopyLink) {
|
||||
iflowCopyLink.addEventListener('click', () => this.copyIflowLink());
|
||||
}
|
||||
if (iflowCookieSubmit) {
|
||||
iflowCookieSubmit.addEventListener('click', () => this.submitIflowCookieLogin());
|
||||
}
|
||||
|
||||
// 使用统计
|
||||
const refreshUsageStats = document.getElementById('refresh-usage-stats');
|
||||
|
||||
Reference in New Issue
Block a user