Commit bc3bcb098b311ed9a83393586afbc9ce45a1f0b6
1 parent
9ce1b539
update Upload
update Upload
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/components/upload/upload.vue
| ... | ... | @@ -146,7 +146,7 @@ |
| 146 | 146 | { |
| 147 | 147 | [`${prefixCls}-select`]: this.type === 'select', |
| 148 | 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 | }, | ... | ... |