bkui-vue 0.0.2-beta.101 → 0.0.2-beta.103
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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +1 -1
- package/lib/select/index.js +2 -2
- package/package.json +1 -1
package/lib/select/index.js
CHANGED
@@ -1859,7 +1859,7 @@ function select_objectSpread(target) { for (var i = 1; i < arguments.length; i++
|
|
1859
1859
|
};
|
1860
1860
|
// 处理键盘事件
|
1861
1861
|
var handleDocumentKeydown = function handleDocumentKeydown(e) {
|
1862
|
-
if (!isPopoverShow.value) return;
|
1862
|
+
if (!isPopoverShow.value || enableVirtualRender.value) return;
|
1863
1863
|
var availableOptions = options.value.filter(function (option) {
|
1864
1864
|
return !option.disabled && option.visible;
|
1865
1865
|
});
|
@@ -1901,7 +1901,7 @@ function select_objectSpread(target) { for (var i = 1; i < arguments.length; i++
|
|
1901
1901
|
case 'Enter':
|
1902
1902
|
{
|
1903
1903
|
var value = e.target.value;
|
1904
|
-
if (allowCreate.value && value) return;
|
1904
|
+
if (allowCreate.value && value || e.target === searchRef.value) return;
|
1905
1905
|
var option = optionsMap.value.get(activeOptionValue.value);
|
1906
1906
|
handleOptionSelected(option);
|
1907
1907
|
break;
|