✨: update
This commit is contained in:
parent
60c1dbff95
commit
129106705e
@ -36,7 +36,7 @@ const matchModule: string[] = [
|
|||||||
"button",
|
"button",
|
||||||
"tooltip",
|
"tooltip",
|
||||||
"page",
|
"page",
|
||||||
"scroll"
|
"scroll",
|
||||||
];
|
];
|
||||||
|
|
||||||
export default (): UserConfigExport => {
|
export default (): UserConfigExport => {
|
||||||
|
@ -67,8 +67,8 @@ const open = function () {
|
|||||||
}
|
}
|
||||||
openState.value = !openState.value;
|
openState.value = !openState.value;
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
multipleSearchInputRef.value?.querySelector('input')?.focus();
|
multipleSearchInputRef.value?.querySelector("input")?.focus();
|
||||||
})
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const emit = defineEmits(["update:modelValue", "change", "search", "create"]);
|
const emit = defineEmits(["update:modelValue", "change", "search", "create"]);
|
||||||
@ -244,19 +244,17 @@ provide("keyword", txt);
|
|||||||
|
|
||||||
<!-- 下拉内容 -->
|
<!-- 下拉内容 -->
|
||||||
<dl class="layui-anim layui-anim-upbit">
|
<dl class="layui-anim layui-anim-upbit">
|
||||||
<div
|
<div ref="multipleSearchInputRef" class="layui-multiple-select-input">
|
||||||
ref="multipleSearchInputRef"
|
<lay-input
|
||||||
class="layui-multiple-select-input">
|
v-if="multiple"
|
||||||
<lay-input
|
|
||||||
v-if="multiple"
|
|
||||||
v-model="value"
|
v-model="value"
|
||||||
@input="input = true"
|
@input="input = true"
|
||||||
@blur="input = false"
|
@blur="input = false"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
prefix-icon="layui-icon-search"
|
prefix-icon="layui-icon-search"
|
||||||
allow-clear
|
allow-clear
|
||||||
autocomplete
|
autocomplete
|
||||||
>
|
>
|
||||||
</lay-input>
|
</lay-input>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="!multiple && showEmpty && !props.create">
|
<template v-if="!multiple && showEmpty && !props.create">
|
||||||
|
Loading…
Reference in New Issue
Block a user