✨(component): update
This commit is contained in:
parent
653b8ff632
commit
4559a22dfc
@ -1,3 +1,3 @@
|
||||
export const check = (arr: any[], value: any) => {
|
||||
return arr.indexOf(value) > -1;
|
||||
};
|
||||
};
|
||||
|
@ -59,4 +59,4 @@ export function off(elem: any, events: any, handler: any) {
|
||||
[]
|
||||
.concat(events)
|
||||
.forEach((event) => elem.removeEventListener(event, handler, false));
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
export * from "./domUtil";
|
||||
export * from "./withInstall";
|
||||
export * from "./arrayUtil";
|
||||
export * from "./arrayUtil";
|
||||
|
@ -10,4 +10,4 @@ export const withInstall = <T>(comp: T): T & Plugin => {
|
||||
};
|
||||
|
||||
return component as T & Plugin;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user