vue-devui 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/vue-devui.es.js CHANGED
@@ -42196,7 +42196,7 @@ function useSelect$2(props, selectRef, ctx2, focus, blur2, isSelectFocus, t) {
42196
42196
  };
42197
42197
  const getInjectOptions = (values) => {
42198
42198
  return values.map((value) => {
42199
- if (props.multiple && props.allowCreate) {
42199
+ if (props.allowCreate) {
42200
42200
  const option2 = injectOptions.value.get(value);
42201
42201
  if (option2) {
42202
42202
  return option2;
@@ -42270,6 +42270,9 @@ function useSelect$2(props, selectRef, ctx2, focus, blur2, isSelectFocus, t) {
42270
42270
  }
42271
42271
  getMultipleSelected(checkedItems);
42272
42272
  } else {
42273
+ if (item.create) {
42274
+ filterQuery.value = "";
42275
+ }
42273
42276
  ctx2.emit("update:modelValue", item.value);
42274
42277
  getSingleSelected(item);
42275
42278
  toggleChange(false);
@@ -54317,7 +54320,7 @@ const installs = [
54317
54320
  VirtualListInstall
54318
54321
  ];
54319
54322
  var vueDevui = {
54320
- version: "1.6.6",
54323
+ version: "1.6.7",
54321
54324
  install(app) {
54322
54325
  installs.forEach((p) => app.use(p));
54323
54326
  }