Browse Source

fix: filed修复

guoxiaoxiao8 5 years ago
parent
commit
44d1dd887a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/packages/field/field.vue

+ 1 - 0
src/packages/field/field.vue

@@ -110,6 +110,7 @@ export default {
       this.active = false;
     },
     focus(){
+      if (this.disabled || this.readonly) return;
       this.active=true;
     },
     handleInput(evt) {