fix(aihr): harden broadcast and mobile assistant flows

This commit is contained in:
2026-07-23 03:35:36 +08:00
parent 62c8b41672
commit 4b31848e3d
30 changed files with 1127 additions and 208 deletions
-17
View File
@@ -310,23 +310,6 @@ const primaryScheduleTitle = computed(() => {
return '';
});
const assignmentSourceLabel = (source?: string) => {
if (source === 'daily') return '每日三题';
if (source === 'retry') return '错题再练';
if (source === 'camp') return '训练营';
return '专项训练';
};
const primaryAssignmentSourceLabel = computed(() =>
primaryAssignment.value ? assignmentSourceLabel(primaryAssignment.value.source) : ''
);
const primaryDisplayTitle = computed(() => {
const label = primaryAssignmentSourceLabel.value;
const title = primaryScheduleTitle.value;
return label && title ? `${label}:${title}` : title;
});
const primaryScheduleDesc = computed(() => {
const item = primaryAssignment.value;
if (item) {