Repository navigation
Conversation
- 每个账号操作区「查额度」左侧新增 ↻ 小按钮,悬停提示「刷新资格」, 点击仅对该账号执行既有 claim_refresh(激活活动资格 + 重查可领套餐), 无需再等左上角的全量刷新 - 刷新中图标旋转并禁用;复用全局刷新的 60 秒冷却(悬停显示剩余秒数), 与全部领取/自动领取/手动领取互斥,避免触发服务端频率限制 - 单账号刷新进行中时左上角按钮保持「刷新资格」文案,不显示 x/y 计数 - 刷新完成后按该账号当前是否有可领套餐给出对应 toast 提示 - 新增 zh/en 文案键(check-i18n-keys 校验通过)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
左上角「刷新资格」会对全部账号逐个激活活动资格并重查可领套餐,账号多时一次要几十秒;有时只需要补查某一个账号,也得等全量流程跑完。
改动
claim_refresh(激活活动资格 + 重新查询可领套餐),后端命令不变,纯前端改动npm run check:i18n通过)验证
npm run build(vite 5)构建通过node scripts/check-i18n-keys.mjs通过(zh/en 各 199 键,静态调用点全覆盖)node --check语法检查通过