mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 06:16:44 +08:00
feat: 优化调用显示方案
This commit is contained in:
@@ -166,9 +166,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="course-info">
|
<div class="course-info">
|
||||||
<div class="course-info-user" style="max-width: 100px;" v-if="cinfo.teacherName">
|
<div class="course-info-user" style="max-width: 100px;" v-if="cinfo.teacherName">
|
||||||
<!-- todo: 后续优化 teacher name 形式-->
|
<el-tooltip :content="cinfo.teacherName.split(',')[0]" placement="bottom" effect="light">
|
||||||
<el-tooltip :content="cinfo.teacherName && cinfo.teacherName.split(',')[0]" placement="bottom" effect="light">
|
<span class="course-info-author">{{ cinfo.teacherName.split(',')[0] }}</span>
|
||||||
<span class="course-info-author">{{ cinfo.teacherName && cinfo.teacherName.split(',')[0] }}</span>
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="course-info-user">
|
<div class="course-info-user">
|
||||||
@@ -1240,8 +1239,6 @@ export default {
|
|||||||
// })
|
// })
|
||||||
|
|
||||||
this.courseList = list
|
this.courseList = list
|
||||||
// todo: 后续优化调用方式
|
|
||||||
|
|
||||||
if (this.newData) {
|
if (this.newData) {
|
||||||
this.courseList = [
|
this.courseList = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user