vue-devui 1.0.1 → 1.0.2

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.
@@ -7835,7 +7835,7 @@ function useSelect(props, selectRef, ctx, focus, blur, isSelectFocus, t) {
7835
7835
  const newOption = {
7836
7836
  name: value,
7837
7837
  value,
7838
- _checked: false
7838
+ _checked: true
7839
7839
  };
7840
7840
  return value ? newOption : option;
7841
7841
  } else {
@@ -7927,7 +7927,7 @@ function useSelect(props, selectRef, ctx, focus, blur, isSelectFocus, t) {
7927
7927
  const tagDelete = (data) => {
7928
7928
  let { modelValue } = props;
7929
7929
  const checkedItems = [];
7930
- for (const child of injectOptions.value.values()) {
7930
+ for (const child of selectedOptions.value) {
7931
7931
  if (data.value === child.value) {
7932
7932
  child._checked = false;
7933
7933
  }