(component): update

This commit is contained in:
就眠儀式 2022-09-26 10:17:54 +08:00
parent 653b8ff632
commit 4559a22dfc
4 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
export const check = (arr: any[], value: any) => {
return arr.indexOf(value) > -1;
};
};

View File

@ -59,4 +59,4 @@ export function off(elem: any, events: any, handler: any) {
[]
.concat(events)
.forEach((event) => elem.removeEventListener(event, handler, false));
}
}

View File

@ -1,3 +1,3 @@
export * from "./domUtil";
export * from "./withInstall";
export * from "./arrayUtil";
export * from "./arrayUtil";

View File

@ -10,4 +10,4 @@ export const withInstall = <T>(comp: T): T & Plugin => {
};
return component as T & Plugin;
};
};