(component): update

This commit is contained in:
就眠儀式
2022-09-11 20:35:43 +08:00
parent bfdf86010e
commit 687afdf166
4 changed files with 19 additions and 9 deletions

View File

@@ -11,7 +11,15 @@ export default {
</script>
<script setup lang="ts">
import "./index.less";
import { ref, onMounted, onUnmounted, nextTick, computed, reactive, StyleValue } from "vue";
import {
ref,
onMounted,
onUnmounted,
nextTick,
computed,
reactive,
StyleValue,
} from "vue";
export interface LayAiffxProps {
offset?: number;
target?: HTMLElement;

View File

@@ -544,7 +544,7 @@ const handleFocusout = () => {
const handleContextHide = () => {
hide();
dropdownCtx?.hide();
}
};
const addChildRef = (ref: any) => {
childrenRefs.add(ref);