- {file && file.url ? (
+ {(file && file.url) || initialImageUrl ? (
-

+
- {file.status === 'uploading' && file.percent < 100 && (
+ {file && file.status === 'uploading' && file.percent < 100 && (
@@ -189,7 +306,6 @@ const GlobalVarContainer = () => {
current={pagination.currPage}
pageSize={pagination.pageSize}
total={pagination.totalCount}
- // showTotal={(total, range) => `第 ${range[0]}-${range[1]} 条,共 ${total} 条`}
onChange={handlePageChange}
/>
@@ -200,6 +316,7 @@ const GlobalVarContainer = () => {
{/*新增弹窗*/}