File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -32,33 +32,33 @@ export default class UploadList extends Component {
32
32
>
33
33
{ [ 'picture-card' , 'picture' ] . includes ( listType ) &&
34
34
isFinished ( file . status ) &&
35
- < img
36
- className = "el-upload-list__item-thumbnail"
37
- src = { file . url }
38
- alt = ""
39
- /> }
35
+ < img
36
+ className = "el-upload-list__item-thumbnail"
37
+ src = { file . url }
38
+ alt = ""
39
+ /> }
40
40
41
41
< a
42
42
className = "el-upload-list__item-name"
43
43
onClick = { ( ) => onPreview ( file ) }
44
44
>
45
45
< i className = "el-icon-document" /> { file . name }
46
46
</ a >
47
- < View
47
+ < label
48
48
className = "el-upload-list__item-status-label"
49
- show = { isFinished ( file . status ) }
50
- component = "label"
51
49
>
52
50
< i
53
51
className = { this . classNames ( {
52
+ 'el-icon-upload-success' : true ,
54
53
'el-icon-circle-check' : listType === 'text' ,
55
54
'el-icon-check' : [ 'picture-card' , 'picture' ] . includes (
56
55
listType
57
56
)
58
57
} ) }
59
58
/>
60
- < i className = "el-icon-close" onClick = { ( ) => onRemove ( file ) } />
61
- </ View >
59
+
60
+ </ label >
61
+ < i className = "el-icon-close" onClick = { ( ) => onRemove ( file ) } />
62
62
< View
63
63
className = "el-upload-list__item-actions"
64
64
show = { listType === 'picture-card' && isFinished ( file . status ) }
You can’t perform that action at this time.
0 commit comments