()
| 1241 | } |
| 1242 | |
| 1243 | function updateSelectedAccountEmailLabel() { |
| 1244 | const emailBtn = document.getElementById("semi-account-email-btn"); |
| 1245 | if (!emailBtn) return; |
| 1246 | const email = getSelectedAccountEmail(); |
| 1247 | emailBtn.textContent = "邮箱"; |
| 1248 | emailBtn.title = email ? `当前账号: ${email}(点击查询最新验证码)` : "请先选择账号"; |
| 1249 | } |
| 1250 | |
| 1251 | async function openGptOfficialLogin() { |
| 1252 | const accountId = Number(document.getElementById("account-select")?.value || 0); |
no test coverage detected