Skip to content

Commit

Permalink
🐛 bug fix for file table
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Dec 3, 2022
1 parent e3afbef commit 614694f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/components/Files.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Files extends Component {
{
title: '描述',
dataIndex: 'description',
render: (value) => <p>{value === "" ? "无描述信息" : value}</p>,
render: (value) => <p>{value ? value : "无描述信息"}</p>,
},
{
title: '操作',
Expand Down

0 comments on commit 614694f

Please sign in to comment.