提交 3deabb1c authored 作者: matian's avatar matian

updates

上级 3b91bf25
...@@ -178,14 +178,14 @@ const handleDetail = (row: any) => { ...@@ -178,14 +178,14 @@ const handleDetail = (row: any) => {
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon15.png" /> <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon15.png" />
<div> <div>
<div class="label">课程授权信息</div> <div class="label">课程授权信息</div>
<div class="value_list" v-if="props.data.auth_departments && props.data.auth_departments.length > 0">
<div class="value_list" v-if="props.data.auth_departments !== []">
<el-popover trigger="hover" placement="right"> <el-popover trigger="hover" placement="right">
<template #reference> <template #reference>
<div class="value" v-for="(item, index) in props.data.auth_departments" :key="index"> <div class="value">
<p>{{ props.data.auth_departments[0].department_name }}</p> <p>{{ props.data.auth_departments[0].department_name }}</p>
<p v-if="props.data.auth_departments.length > 1"> <p v-if="props.data.auth_departments.length > 1">
{{ props.data.auth_departments[1].department_name + '...' }} {{ props.data.auth_departments[1].department_name }}
<span v-if="props.data.auth_departments.length > 2">...</span>
</p> </p>
</div> </div>
</template> </template>
...@@ -194,6 +194,7 @@ const handleDetail = (row: any) => { ...@@ -194,6 +194,7 @@ const handleDetail = (row: any) => {
</div> </div>
</el-popover> </el-popover>
</div> </div>
<div class="value" v-else>暂无</div>
</div> </div>
</div> </div>
</div> </div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论