dev
This commit is contained in:
commit
fa22f2934b
|
|
@ -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输入框")
|
||||
|
|
|
|||
Loading…
Reference in New Issue