From 653b8ff6324dcc67f261003eae732ebfaa6a125b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 26 Sep 2022 10:09:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/utils/arrayUtil.ts | 2 +- package/component/src/utils/domUtil.ts | 2 +- package/component/src/utils/index.ts | 2 +- package/component/src/utils/withInstall.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/component/src/utils/arrayUtil.ts b/package/component/src/utils/arrayUtil.ts index 8afb38a2..3e61395c 100644 --- a/package/component/src/utils/arrayUtil.ts +++ b/package/component/src/utils/arrayUtil.ts @@ -1,3 +1,3 @@ export const check = (arr: any[], value: any) => { return arr.indexOf(value) > -1; -}; +}; \ No newline at end of file diff --git a/package/component/src/utils/domUtil.ts b/package/component/src/utils/domUtil.ts index 3eadb651..1de9e37b 100644 --- a/package/component/src/utils/domUtil.ts +++ b/package/component/src/utils/domUtil.ts @@ -59,4 +59,4 @@ export function off(elem: any, events: any, handler: any) { [] .concat(events) .forEach((event) => elem.removeEventListener(event, handler, false)); -} +} \ No newline at end of file diff --git a/package/component/src/utils/index.ts b/package/component/src/utils/index.ts index 0c808148..57c41d85 100644 --- a/package/component/src/utils/index.ts +++ b/package/component/src/utils/index.ts @@ -1,3 +1,3 @@ export * from "./domUtil"; export * from "./withInstall"; -export * from "./arrayUtil"; +export * from "./arrayUtil"; \ No newline at end of file diff --git a/package/component/src/utils/withInstall.ts b/package/component/src/utils/withInstall.ts index 5bc83d00..89b5154f 100644 --- a/package/component/src/utils/withInstall.ts +++ b/package/component/src/utils/withInstall.ts @@ -10,4 +10,4 @@ export const withInstall = (comp: T): T & Plugin => { }; return component as T & Plugin; -}; +}; \ No newline at end of file