style: 全站接入深色主题,按新规则整改界面取值

This commit is contained in:
2026-11-20 09:42:47 +08:00
parent 15d84decfb
commit 7627f0651d
32 changed files with 960 additions and 267 deletions
@@ -70,12 +70,12 @@ describe('useSummaryReport(结束会话总结)', () => {
expect(submitAiTask).toHaveBeenCalled()
})
it('AI 重新生成:这次学习没有残片时提示且不提交', async () => {
it('AI 重新生成:这次学习没有知识碎片时提示且不提交', async () => {
const report = mountReport(false)
await report.regenerateDraft()
expect(ElMessage.warning).toHaveBeenCalledWith('这次学习还没有残片,暂无可聚合的内容')
expect(ElMessage.warning).toHaveBeenCalledWith('这次学习还没有知识碎片,暂无可聚合的内容')
expect(submitAiTask).not.toHaveBeenCalled()
})
})