Commit bc3bcb098b311ed9a83393586afbc9ce45a1f0b6

Authored by 梁灏
1 parent 9ce1b539

update Upload

update Upload
src/components/upload/upload.vue
@@ -146,7 +146,7 @@ @@ -146,7 +146,7 @@
146 { 146 {
147 [`${prefixCls}-select`]: this.type === 'select', 147 [`${prefixCls}-select`]: this.type === 'select',
148 [`${prefixCls}-drag`]: this.type === 'drag', 148 [`${prefixCls}-drag`]: this.type === 'drag',
149 - [`${prefixCls}-dragOver`]: this.dragOver 149 + [`${prefixCls}-dragOver`]: this.type === 'drag' && this.dragOver
150 } 150 }
151 ]; 151 ];
152 }, 152 },
src/styles/components/upload.less
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 } 6 }
7 7
8 &-list{ 8 &-list{
9 - margin-bottom: 8px; 9 + margin-top: 8px;
10 10
11 &-file{ 11 &-file{
12 padding: 4px; 12 padding: 4px;