Explorar el Código

Merge remote-tracking branch 'origin/master' into referMaster

zhouna hace 5 años
padre
commit
4c349b5cae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/common/OptionInp.vue

+ 1 - 1
src/common/OptionInp.vue

@@ -104,7 +104,7 @@ import $ from 'jquery';
 
       },
       handleCli(e){
-        if(!this.select&&this.txt.match(/\S/g)){//已选中后点击输入框不取消选中
+        if(!this.select&&(this.txt||"").match(/\S/g)){//已选中后点击输入框不取消选中
           this.$emit("handleSelect")
         }
       }