feat: 优化调用显示方案

This commit is contained in:
2025-09-15 09:02:52 +08:00
parent f61742a0b9
commit bf0ae91184

View File

@@ -166,9 +166,8 @@
</div>
<div class="course-info">
<div class="course-info-user" style="max-width: 100px;" v-if="cinfo.teacherName">
<!-- todo: 后续优化 teacher name 形式-->
<el-tooltip :content="cinfo.teacherName && cinfo.teacherName.split(',')[0]" placement="bottom" effect="light">
<span class="course-info-author">{{ cinfo.teacherName && cinfo.teacherName.split(',')[0] }}</span>
<el-tooltip :content="cinfo.teacherName.split(',')[0]" placement="bottom" effect="light">
<span class="course-info-author">{{ cinfo.teacherName.split(',')[0] }}</span>
</el-tooltip>
</div>
<div class="course-info-user">
@@ -1240,8 +1239,6 @@ export default {
// })
this.courseList = list
// todo: 后续优化调用方式
if (this.newData) {
this.courseList = [
{