Skip to content

Commit

Permalink
perf: update single meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Jul 30, 2024
1 parent 397dfc2 commit 504026a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/single/single_meta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="m-single-meta__main">
<div class="m-meta-item" v-for="item in data" :key="item.name">
<template v-if="item.mode == 1 || item.mode == undefined">
<span class="u-name"><i class="el-icon-box"></i>{{ item.name || "暂无资源" }}</span>
<span class="u-name"><i class="el-icon-box"></i>{{ item.name || "未命名文件" }}</span>
<span class="u-remark">{{ item.remark || "" }}</span>
<span
class="u-download-btn el-button el-button--primary el-button--small"
Expand All @@ -16,7 +16,7 @@
</span>
</template>
<template v-if="item.mode == 0">
<span class="u-name"><i class="el-icon-box"></i>{{ item.name || "暂无资源" }}</span>
<span class="u-name"><i class="el-icon-box"></i>{{ item.name || "未命名文件" }}</span>
<span class="u-remark">{{ item.remark || "" }}</span>
<a
class="u-download-btn el-button el-button--primary el-button--small"
Expand Down

0 comments on commit 504026a

Please sign in to comment.