This commit is contained in:
LiJianZhao 2025-05-07 16:05:09 +08:00
commit fa22f2934b
1 changed files with 6 additions and 2 deletions

View File

@ -45,7 +45,7 @@ import {Plus} from "@element-plus/icons-vue";
const keyword = ref("");
const popoverRef = ref();
const inputRef = ref();
const isVisible = ref(false);
interface showConfig {
prop: string;
label: string;
@ -56,6 +56,10 @@ const props = defineProps({
type: String,
default: ""
},
width: {
type: Number,
default: 1000
},
showConfig: {
type: Array as () => showConfig[],
default: () => []
@ -100,7 +104,7 @@ const beforeShow = () => {
popoverRef.value.hide();
}
};
const isVisible =ref(false)
const focus=()=>{
isVisible.value=true
console.log( "focus输入框")