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