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/menu/style.css +1 -1
- package/package.json +1 -1
- package/pagination/index.es.js +4 -1
- package/pagination/index.umd.js +6 -6
- package/select/index.es.js +4 -1
- package/select/index.umd.js +5 -5
- package/style.css +1 -1
- package/switch/style.css +1 -1
- package/time-select/index.es.js +4 -1
- package/time-select/index.umd.js +6 -6
- package/vue-devui.es.js +5 -2
- package/vue-devui.umd.js +2 -2
package/select/index.es.js
CHANGED
|
@@ -7932,7 +7932,7 @@ function useSelect(props, selectRef, ctx, focus, blur, isSelectFocus, t) {
|
|
|
7932
7932
|
};
|
|
7933
7933
|
const getInjectOptions = (values) => {
|
|
7934
7934
|
return values.map((value) => {
|
|
7935
|
-
if (props.
|
|
7935
|
+
if (props.allowCreate) {
|
|
7936
7936
|
const option = injectOptions.value.get(value);
|
|
7937
7937
|
if (option) {
|
|
7938
7938
|
return option;
|
|
@@ -8006,6 +8006,9 @@ function useSelect(props, selectRef, ctx, focus, blur, isSelectFocus, t) {
|
|
|
8006
8006
|
}
|
|
8007
8007
|
getMultipleSelected(checkedItems);
|
|
8008
8008
|
} else {
|
|
8009
|
+
if (item.create) {
|
|
8010
|
+
filterQuery.value = "";
|
|
8011
|
+
}
|
|
8009
8012
|
ctx.emit("update:modelValue", item.value);
|
|
8010
8013
|
getSingleSelected(item);
|
|
8011
8014
|
toggleChange(false);
|