This commit is contained in:
daihh
2022-07-29 19:56:57 +08:00
3 changed files with 6 additions and 4 deletions

View File

@@ -173,7 +173,7 @@
</div>
</div>
</div>
<div style="border-top: 1px solid #eee; background-color: #eee; padding: 10px 20px;margin-top: 10px;">
<div v-if="audit.length > 0" style="border-top: 1px solid #eee; background-color: #eee; padding: 10px 20px;margin-top: 10px;">
<div style="line-height: 36px;">
<div style="display:flex;">
<div style="flex:1;"><span class="audit-text">邀请人</span>{{audit.sysCreateBy}}</div>
@@ -444,7 +444,9 @@ export default {
this.dialogVisible = true;
apiCourse.getAuditInfo({courseId:row.id}).then(res=>{
if(res.status == 200) {
this.audit = res.result[0];
if(res.result.length > 0) {
this.audit = res.result[0];
}
} else {
this.$message.error(res.message);
}