mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-25 02:32:52 +08:00
Compare commits
2 Commits
feature/20
...
yx-master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eee6afbe97 | ||
|
|
b37980c30b |
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user