Compare commits
No commits in common. "0119a92501a3b0722e165671555b729589981764" and "31f9ec61ea75c4138855e8d850689c03e02ec543" have entirely different histories.
0119a92501
...
31f9ec61ea
|
@ -4,7 +4,7 @@
|
|||
<el-descriptions-item label="班级名称">{{ classInfo.caption }}</el-descriptions-item>
|
||||
<el-descriptions-item label="教师">
|
||||
<template v-if="classInfo.teacher.length > 0">
|
||||
<el-tag style="margin-right: 5px;margin-bottom: 5px;" type="primary" v-for="(item, index) in classInfo.teacher" :key="index">{{item.name}}</el-tag>
|
||||
<el-tag type="primary" v-for="(item, index) in classInfo.teacher" :key="index">{{item.name}}</el-tag>
|
||||
</template>
|
||||
<template v-else>{{ classInfo.teachername }}</template>
|
||||
</el-descriptions-item>
|
||||
|
|
Loading…
Reference in New Issue