Commit 1ce3f9eb by lei

1

parent 52dd6dee
......@@ -135,7 +135,7 @@ const Fun = (parent: any, e: any) => {
};
// 自定义指令
const vHideEl = {
mounted: (el: HTMLDivElement, e2: any, e3: any) => {
mounted: (el: HTMLDivElement) => {
document.addEventListener("click", Fun.bind(this, el));
},
beforeUnmount: (el: HTMLDivElement) => {
......
......@@ -20,13 +20,12 @@
<script lang="ts" setup>
const props = withDefaults(
defineProps<{
options?: any[];
options: any[];
modelValue: string;
class?: string;
margin?: boolean;
}>(),
{
options: [],
class: "",
margin: false,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment