Browse Source

bug 修复

lilei 2 năm trước cách đây
mục cha
commit
712967e116
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
     },