select filter时候,如果点开select没选择,但是失去焦点,会使query残留在select中

 <Select
          filterable
          v-model="formData.template"
          clearable
          ref="templateSelect"
          @on-open-change="handleOpenChange"
        >
          <Option value="custom">
            自定义
          </Option>
          <Option
            v-for="item in poolTemplateList"
            :key="item.id"
            :value="item.id"
          >
            {{item.name}}
          </Option>

        </Select>
    handleOpenChange(state) {
      if (!state && this.formData.template === "custom") {
        this.$refs.templateSelect.query = ""
      }
    },
03-05 15:38