瀏覽代碼

bug 修复

lilei 2 年之前
父節點
當前提交
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);
     },