perf(projects): 增强文件校验的兼容性 (#1931)

This commit is contained in:
青菜白玉汤
2024-11-10 17:02:31 +08:00
committed by GitHub
parent 7d9af64f6d
commit f63803529a
5 changed files with 21 additions and 17 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
<el-table-column align="left" label="标签" prop="tag" width="100">
<template #default="scope">
<el-tag
:type="scope.row.tag === 'jpg' ? 'info' : 'success'"
:type="scope.row.tag?.toLowerCase() === 'jpg' ? 'info' : 'success'"
disable-transitions
>{{ scope.row.tag }}
</el-tag>