Skip to content

Commit cb2155f

Browse files
committed
blockly预览
1 parent 996c2d7 commit cb2155f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/views/home/NewWorkList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<a-card class="work-card">
2121
<a @click="toDetail(item.id)" target="_blank">
2222
<img class="work-cover" v-if="item.coverFileKey" :src="item.coverFileKey_url" />
23-
<img v-if="item.workType == 4 || item.workType == 4" src="@/assets/code.png" alt="" />
23+
<img v-if="item.workType == 4 || item.workType == 10" src="@/assets/code.png" alt="" />
2424
</a>
2525
<a-row type="flex" justify="end">
2626
<a-col :span="5"> <a-icon type="eye" /> {{ item.viewNum }} </a-col>

web/src/views/home/PublicWorkList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<a-card class="work-card">
5252
<a @click="toDetail(item.id)" target="_blank">
5353
<img class="work-cover" v-if="item.coverFileKey" :src="item.coverFileKey_url" />
54-
<img v-if="item.workType == 4 || item.workType == 4" src="@/assets/code.png" alt="" />
54+
<img v-if="item.workType == 4 || item.workType == 10" src="@/assets/code.png" alt="" />
5555
</a>
5656
<a-row type="flex" justify="end">
5757
<a-col :span="5"> <a-icon type="eye" /> {{ item.viewNum }} </a-col>
@@ -82,7 +82,7 @@
8282
<a-card class="work-card">
8383
<a @click="toDetail(item.id)" target="_blank">
8484
<img class="work-cover" v-if="item.coverFileKey" :src="item.coverFileKey_url" />
85-
<img v-if="item.workType == 4 || item.workType == 4" src="@/assets/code.png" alt="" />
85+
<img v-if="item.workType == 4 || item.workType == 10" src="@/assets/code.png" alt="" />
8686
</a>
8787
<a-row type="flex" justify="end">
8888
<a-col :span="5"> <a-icon type="eye" /> {{ item.viewNum }} </a-col>

0 commit comments

Comments
 (0)