Compare commits

..

2 Commits

Author SHA1 Message Date
陈昱达
eee6afbe97 fix(PortalHeader): 激活2025年贡献者大会下拉选项
- 移除注释标记以启用2025年选项
- 保持下拉菜单结构和分隔符设置
2025-12-24 18:20:00 +08:00
xu
b37980c30b SZX-1346课程加载失败,视频不能播放。 2025-12-22 17:00:23 +08:00
2 changed files with 9 additions and 3 deletions

View File

@@ -106,7 +106,8 @@
>贡献者大会</span
>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="three">2024</el-dropdown-item>
<el-dropdown-item command="four">2025</el-dropdown-item>
<el-dropdown-item command="three" divided>2024</el-dropdown-item>
<el-dropdown-item command="one" divided>2023</el-dropdown-item>
<el-dropdown-item command="two" divided>2022</el-dropdown-item>
</el-dropdown-menu>

View File

@@ -1395,8 +1395,13 @@ export default {
}
},
// ai播放器相关 - 视频处理
handleAIVideo(list = [], r) {
console.log('触发了-----------list', list);
handleAIVideo(listParam, r) {
// 先打印原始值,便于排查后端返回
console.log('触发了-----------原始 listParam', listParam);
// 防御性处理:后端可能返回 null 或其他非数组,这里统一转为数组,避免后续 forEach 报错
const list = Array.isArray(listParam) ? listParam : [];
// 再打印一次最终用于处理的 list
console.log('触发了-----------规范后 list', list);
this.SET_selectableLang(list);
this.SET_courseInfo(this.courseInfo);
if (this.courseInfo.aiSet && this.courseInfo.aiAbstract == 1 && this.courseInfo.summaryContent) {