Compare commits

..

2 Commits

Author SHA1 Message Date
小杨 0119a92501 fix : 样式问题; 2024-09-27 15:07:58 +08:00
yangws e1dfc0f8b4 Merge pull request 'fix:新建分组前清空操作;' (#283) from yangws into main
Reviewed-on: #283
2024-09-27 15:06:30 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<el-descriptions-item label="班级名称">{{ classInfo.caption }}</el-descriptions-item> <el-descriptions-item label="班级名称">{{ classInfo.caption }}</el-descriptions-item>
<el-descriptions-item label="教师"> <el-descriptions-item label="教师">
<template v-if="classInfo.teacher.length > 0"> <template v-if="classInfo.teacher.length > 0">
<el-tag type="primary" v-for="(item, index) in classInfo.teacher" :key="index">{{item.name}}</el-tag> <el-tag style="margin-right: 5px;margin-bottom: 5px;" type="primary" v-for="(item, index) in classInfo.teacher" :key="index">{{item.name}}</el-tag>
</template> </template>
<template v-else>{{ classInfo.teachername }}</template> <template v-else>{{ classInfo.teachername }}</template>
</el-descriptions-item> </el-descriptions-item>