Commit 3881f820de703a18ed7df3ae2447fb150eff88e6
1 parent
d411992d
fix
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/components/date-picker/picker.vue
... | ... | @@ -318,7 +318,9 @@ |
318 | 318 | if (this.readonly) return; |
319 | 319 | this.isFocused = true; |
320 | 320 | if (e && e.type === 'focus') return; // just focus, don't open yet |
321 | - this.visible = true; | |
321 | + if(!this.disabled){ | |
322 | + this.visible = true; | |
323 | + } | |
322 | 324 | }, |
323 | 325 | handleBlur (e) { |
324 | 326 | if (this.internalFocus){ | ... | ... |