历史文件大小为空时不显示
continuous-integration/drone/push Build is passing Details

uat_us v1.7.0
DESKTOP-6C3NK6N\WXS 2024-10-09 16:51:50 +08:00
parent 83a14956e3
commit f58eb07323
6 changed files with 9 additions and 9 deletions

View File

@ -67,7 +67,7 @@
<span>{{
scope.row.FileSize && scope.row.FileSize > 0
? `${(scope.row.FileSize / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>
@ -139,7 +139,7 @@
<span>{{
scope.row.FileSize && scope.row.FileSize > 0
? `${(scope.row.FileSize / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>
@ -321,7 +321,7 @@
<span>{{
scope.row.size && scope.row.size > 0
? `${(scope.row.size / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>

View File

@ -104,7 +104,7 @@
? `${(scope.row.size / 1024 / 1024).toFixed(2)}MB`
: scope.row.Size && scope.row.Size > 0
? `${(scope.row.Size / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>

View File

@ -156,7 +156,7 @@
<span>{{
scope.row.FileSize && scope.row.FileSize > 0
? `${(scope.row.FileSize / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>

View File

@ -324,7 +324,7 @@
<span>{{
scope.row.Size && scope.row.Size > 0
? `${(scope.row.Size / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>

View File

@ -75,7 +75,7 @@
<span>{{
scope.row.FileSize && scope.row.FileSize > 0
? `${(scope.row.FileSize / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>
@ -409,7 +409,7 @@
<span>{{
scope.row.size && scope.row.size > 0
? `${(scope.row.size / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>

View File

@ -329,7 +329,7 @@
<span>{{
scope.row.Size && scope.row.Size > 0
? `${(scope.row.Size / 1024 / 1024).toFixed(2)}MB`
: 0
: ''
}}</span>
</template>
</el-table-column>