changes
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
name: field,
|
||||
fontsize: 14,
|
||||
maxHeight: '200px',
|
||||
clearTrigger,
|
||||
}"
|
||||
@selected="choose"
|
||||
/>
|
||||
@@ -187,6 +188,7 @@ const pos = computed(() => {
|
||||
return "is-right";
|
||||
}
|
||||
});
|
||||
const clearTrigger = ref(0);
|
||||
|
||||
if (props.vdata) {
|
||||
orgdata.value = props.vdata;
|
||||
@@ -273,6 +275,7 @@ function doSelect(option) {
|
||||
function clearValue() {
|
||||
value.value = undefined;
|
||||
selected.value = undefined;
|
||||
clearTrigger.value++;
|
||||
emit("option", null);
|
||||
emit("modalevent", { name: "option", data: null });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user