lilei 2 лет назад
Родитель
Сommit
712967e116
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/common/returnReason.js

+ 1 - 1
src/views/common/returnReason.js

@@ -14,6 +14,7 @@ const ReturnReason = {
             @change="onChange"
             @blur="onBlur"
             @focus="open=true"
+            @select="open=false"
             :open="open"
           >
             <a-select-option v-for="item in list" :key="item" :value="item">
@@ -98,7 +99,6 @@ const ReturnReason = {
     onChange(value) {
       console.log('onChange', value);
       this.defaultVal = value;
-      this.open = false;
       this.$emit('change', value);
       this.$emit('input', value);
     },