Commit 2f27b34e authored by zhengke's avatar zhengke

修改

parent ff200dc1
......@@ -76,7 +76,12 @@
<div class="full-width course-menu-box q-pt-md">
<q-list style="width:180px;overflow:hidden">
<div class="classD1">
<img style="width:100%;height:100%;" alt="" :src="courseInfo.CoverImg" />
<template v-if="courseInfo.CoverImg">
<img style="width:100%;height:100%;" alt="" :src="courseInfo.CoverImg" />
</template>
<template v-else>
<img style="width:100%;height:100%;" alt="" src="../../assets/images/default.png" />
</template>
</div>
<div class="text_Degree">{{courseInfo.CourseName}}</div>
<div class="nav-content">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment