cert api edit

This commit is contained in:
joshen
2024-05-21 15:36:24 +08:00
parent bf10e5fd85
commit 24386d2d54
3 changed files with 18 additions and 12 deletions

View File

@@ -29,7 +29,7 @@
<view v-if="!itemes.score" class="status" style="color:#409EFF">去评分</view>
</view>
</view>
<u-empty v-if="lecturersList.length == 0 && lecturersList!==''" mode="list" icon="http://cdn.uviewui.com/uview/empty/car.png"></u-empty>
<u-empty v-if="lecturersList.length == 0 && lecturersList!==''" mode="data" icon="http://cdn.uviewui.com/uview/empty/car.png"></u-empty>
</view>
</view>
</view>
@@ -56,12 +56,12 @@
apiLecturerCert.lecturerCertificationList({
reviewId: this.reviewId
}).then(res => {
if (res.code == 200) {
this.lecturersList = res.data
} else {
this.lecturersList = []
this.$refs.uToast.show({message:res.msg,type:'error'});
}
if (res.code == 200) {
this.lecturersList = res.data
} else {
this.lecturersList = []
// this.$refs.uToast.show({message:res.msg,type:'error'});
}
});
}
},
@@ -165,7 +165,6 @@
line-height: 20px;
text-align: left;
font-style: normal;
display: flex;
align-items: center;
.posts{
margin-right: 20px;