Skip to content

Commit

Permalink
优化文件类型
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 11, 2021
1 parent f6035de commit 85fcc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/assets/js/pages/manage/file.vue
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ export default {
if (type) {
return h('AutoTip', type.name);
} else {
return h('div', '-')
return h('div', (row.ext || row.type).replace(/^\S/, s => s.toUpperCase()))
}
}
},
Expand Down

0 comments on commit 85fcc28

Please sign in to comment.