补充部分组件描述

This commit is contained in:
就眠儀式
2022-02-06 03:19:24 +08:00
parent a74c559fdd
commit 6e568f2d2f
94 changed files with 352 additions and 259 deletions

View File

@@ -8,13 +8,13 @@ export default {
import { provide, ref, watch } from "vue";
import { useClickOutside } from "@layui/hooks-vue";
const dropdownRef = ref<null | HTMLElement>(null);
const isClickOutside = useClickOutside(dropdownRef);
export interface LayDropdownProps {
trigger?: string;
}
const dropdownRef = ref<null | HTMLElement>(null);
const isClickOutside = useClickOutside(dropdownRef);
const props = withDefaults(defineProps<LayDropdownProps>(), {
trigger: "click",
});

View File