fix(前端): LLM 密钥共用不再弹窗,仅代理 IP 共用弹通知

This commit is contained in:
2026-10-25 00:40:07 +08:00
parent 37919ae786
commit 445a7dfbd5
2 changed files with 5 additions and 1 deletions
@@ -78,6 +78,7 @@ test('密钥共用提示只走通知,不再常驻界面', () => {
assert.ok(component.includes('ElMessage.warning'), '共用密钥提示应通过 ElMessage 通知弹出')
assert.ok(!component.includes('cost-guard-alert--shared'), '黄色常驻横幅已下线,样式类不得回流')
assert.ok(!component.includes('密钥共用提示'), '界面模板不应再渲染「密钥共用提示」横幅')
assert.ok(component.includes("warning.type !== 'proxy'"), 'LLM 密钥共用可接受,弹窗只放行代理 IP 类型')
})
test('全局挂载并在暂停时提供「继续任务」', () => {