mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 14:26:43 +08:00
feat: 优化调用显示方案
This commit is contained in:
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user